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" ) );