From e6b41e00706f7a55f33feebba2ea41752df69051 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 21 Apr 2016 18:59:38 +0300 Subject: [PATCH] Send custom event just before startin event loop to inform everybody who wants to know this --- src/Session/SALOME_Session_Server.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2