From c5a159e94ba5af437c5175304ca69f458772bcf7 Mon Sep 17 00:00:00 2001 From: abn Date: Mon, 18 Apr 2016 10:43:19 +0200 Subject: [PATCH] Removing emit signal. --- src/SUIT/SUIT_Application.cxx | 1 - src/SUIT/SUIT_Application.h | 1 - src/Session/SALOME_Session_Server.cxx | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.39.2