From 8665fb754b0a09714b27ace09baa78c4b26766cc Mon Sep 17 00:00:00 2001 From: sbh Date: Fri, 7 Nov 2014 16:09:28 +0300 Subject: [PATCH] Signal/Slot connection warning eliminated --- src/XGUI/XGUI_Workshop.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index cf38bd9e6..83dc099fc 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -119,9 +119,11 @@ XGUI_Workshop::XGUI_Workshop(XGUI_SalomeConnector* theConnector) connect(myOperationMgr, SIGNAL(operationStopped(ModuleBase_Operation*)), SLOT(onOperationStopped(ModuleBase_Operation*))); connect(myMainWindow, SIGNAL(exitKeySequence()), SLOT(onExit())); - connect(myOperationMgr, SIGNAL(operationStarted()), myActionsMgr, SLOT(update())); - connect(myOperationMgr, SIGNAL(operationStopped(ModuleBase_Operation*)), myActionsMgr, - SLOT(update())); + // TODO(sbh): It seems that application works properly without update on operationStarted + connect(myOperationMgr, SIGNAL(operationStarted(ModuleBase_Operation*)), + myActionsMgr, SLOT(update())); + connect(myOperationMgr, SIGNAL(operationStopped(ModuleBase_Operation*)), + myActionsMgr, SLOT(update())); connect(this, SIGNAL(errorOccurred(const QString&)), myErrorDlg, SLOT(addError(const QString&))); } -- 2.39.2