From: jfa Date: Mon, 30 May 2022 13:57:12 +0000 (+0300) Subject: Log desktop actions X-Git-Tag: V9_12_0a1~6^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0ee639ebd71134c52665e297293ec04266e42b5b;p=modules%2Fshaper.git Log desktop actions --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index 9232099ac..5717b08f3 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -787,6 +787,8 @@ QAction* SHAPERGUI::addFeatureOfNested(const QString& theWBName, createTool(separator(), aWBTool); /// nested action is always separated of others registerCommandToolbar(theWBName, -1); + connect(anAction, SIGNAL(triggered(bool)), this, SLOT(logShaperGUIEvent())); + return anAction; } @@ -815,6 +817,9 @@ QAction* SHAPERGUI::addDesktopCommand(const QString& theId, const QString& theTi aAction->setStatusTip(theTip); aAction->setData(theId); createMenu(aId, aMenu, theMenuPosition); + + connect(aAction, SIGNAL(triggered(bool)), this, SLOT(logShaperGUIEvent())); + return aAction; }