Salome HOME
Issue #2282 Conditional jump or move depends on uninitialised value(s): patch is...
authornds <nds@opencascade.com>
Fri, 17 Nov 2017 09:02:36 +0000 (12:02 +0300)
committernds <nds@opencascade.com>
Fri, 17 Nov 2017 09:02:36 +0000 (12:02 +0300)
src/XGUI/XGUI_OperationMgr.cpp

index ad655723d54f603c55fcd010b18861dbacce117d..cfdf139121f21e2ab9ed886f06c8b7790819d12a 100644 (file)
@@ -59,7 +59,7 @@ public:
   /// \param theParent the parent to be deleted when the parent is deleted
   /// \param theOperationMgr the class to perform deletion
   XGUI_ShortCutListener(QObject* theParent, XGUI_OperationMgr* theOperationMgr)
-    : QObject(theParent), myOperationMgr(theOperationMgr)
+    : QObject(theParent), myOperationMgr(theOperationMgr), myIsActive(false)
   {
     qApp->installEventFilter(this);
   }