]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix bug of the previous integration - bad window flags are set
authorvsr <vsr@opencascade.com>
Fri, 25 Mar 2011 09:53:11 +0000 (09:53 +0000)
committervsr <vsr@opencascade.com>
Fri, 25 Mar 2011 09:53:11 +0000 (09:53 +0000)
src/SalomeApp/SalomeApp_StudyPropertiesDlg.cxx

index 10dc122885065dcabe6753e571bf53f855f96dd6..32e612e6ed2212ace0ec95ab79c962b0e69f436f 100644 (file)
@@ -149,7 +149,7 @@ SalomeApp_StudyPropertiesDlg::SalomeApp_StudyPropertiesDlg(QWidget* parent)
   setWindowTitle(tr("TLT_STUDY_PROPERTIES"));
   setSizeGripEnabled( true );
 
-  setWindowFlags( windowFlags() ^ QFlags<Qt::WindowType>(windowFlags() & ~(Qt::WindowContextHelpButtonHint) ) );
+  setWindowFlags( windowFlags() & ~Qt::WindowContextHelpButtonHint );
 
   QGridLayout* mainLayout = new QGridLayout(this);
   mainLayout->setMargin(DEFAULT_MARGIN);