X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ZLevelsDlg.cxx;h=5511c6695edf50e91b0faf8a5ce38ab15a8410c5;hb=196861562f7acec08685d250aee9c1bee85896f8;hp=e44c189cd287a888cdf9dd6cbfe8bedd997b7c19;hpb=c48c1c57946f19c365b2a0e0cf9eba3bbc9bbdae;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx b/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx index e44c189c..5511c669 100644 --- a/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ZLevelsDlg.cxx @@ -41,6 +41,13 @@ HYDROGUI_ZLevelsDlg::HYDROGUI_ZLevelsDlg( QWidget* theParent, HYDROGUI_Module* theModule ) : QDialog( theParent ) { + // Change windows flags to remove minimize button + Qt::WindowFlags aFlags = windowFlags(); + aFlags |= Qt::CustomizeWindowHint; + aFlags &= ~Qt::WindowMinimizeButtonHint; + aFlags &= ~Qt::WindowMaximizeButtonHint; + setWindowFlags( aFlags ); + // Dialog title setWindowTitle( tr( "CHANGE_LAYER_ORDER" ) );