]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Not set the main window to the QApplication. If main window of application is closed...
authorstv <stv@opencascade.com>
Thu, 22 Dec 2005 10:20:43 +0000 (10:20 +0000)
committerstv <stv@opencascade.com>
Thu, 22 Dec 2005 10:20:43 +0000 (10:20 +0000)
src/SUITApp/SUITApp.cxx

index 8145be257cb534f279889c6195e4670d5cc7ffc4..497906700d51bd86b9e042b0d26df6b6d3415760 100644 (file)
@@ -162,8 +162,8 @@ int main( int args, char* argv[] )
       if ( !noExceptHandling )
         app.setHandler( aSession->handler() );
 
-      if ( !app.mainWidget() )
-        app.setMainWidget( theApp->desktop() );
+//      if ( !app.mainWidget() )
+//        app.setMainWidget( theApp->desktop() );
 
       result = app.exec();
     }