From: abn Date: Mon, 18 Apr 2016 08:43:19 +0000 (+0200) Subject: Removing emit signal. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c5a159e94ba5af437c5175304ca69f458772bcf7;p=modules%2Fgui.git Removing emit signal. --- diff --git a/src/SUIT/SUIT_Application.cxx b/src/SUIT/SUIT_Application.cxx index 50f5f8c08..912aa54d6 100755 --- a/src/SUIT/SUIT_Application.cxx +++ b/src/SUIT/SUIT_Application.cxx @@ -733,5 +733,4 @@ void SUIT_Application::onHelpContextModule( const QString& /*theComponentName*/, void SUIT_Application::onMainEventLoopStarting() { myEventLoopStarted = true; - emit mainEventLoopStarting(); } diff --git a/src/SUIT/SUIT_Application.h b/src/SUIT/SUIT_Application.h index 6400a4907..2118dd1a4 100755 --- a/src/SUIT/SUIT_Application.h +++ b/src/SUIT/SUIT_Application.h @@ -122,7 +122,6 @@ signals: void activated( SUIT_Application* ); // void moving(); void infoChanged( QString ); - void mainEventLoopStarting(); public slots: virtual void updateCommandsStatus(); diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index 919075243..6a7512a1f 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -579,7 +579,7 @@ int main( int argc, char **argv ) splash->finish( aGUIApp->desktop() ); // Post an event that will be processed as soon as the main event loop is starting - useful for QtTesting - // test scenarios, in the MED module for example. + // test scenarios, in the MED module for example, to know whether the main exec loop is running. QTimer::singleShot(0, aGUIApp, SLOT(onMainEventLoopStarting())); result = _qappl.exec();