From: vsr Date: Thu, 21 Apr 2016 15:59:38 +0000 (+0300) Subject: Send custom event just before startin event loop to inform everybody who wants to... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fvsr%2Fqtesting;p=modules%2Fgui.git Send custom event just before startin event loop to inform everybody who wants to know this --- diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index d84b326b9..2c06fb27a 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -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;