]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Send custom event just before startin event loop to inform everybody who wants to... vsr/qtesting
authorvsr <vsr@opencascade.com>
Thu, 21 Apr 2016 15:59:38 +0000 (18:59 +0300)
committervsr <vsr@opencascade.com>
Thu, 21 Apr 2016 15:59:38 +0000 (18:59 +0300)
src/Session/SALOME_Session_Server.cxx

index d84b326b903010efb1a68892e4eb4b3b8562d96a..2c06fb27a05be4e3884453a9dd79173b2d4394d5 100755 (executable)
@@ -577,6 +577,7 @@ int main( int argc, char **argv )
         if ( splash )
           splash->finish( aGUIApp->desktop() );
 
+        QApplication::postEvent(QApplication::instance(), new QEvent((QEvent::Type)9999));
         result = _qappl.exec();
         
         splash = 0;