]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
it is not necessary to register actions in menu with same ids as in application
authorasl <asl@opencascade.com>
Thu, 18 Mar 2010 10:24:50 +0000 (10:24 +0000)
committerasl <asl@opencascade.com>
Thu, 18 Mar 2010 10:24:50 +0000 (10:24 +0000)
src/SUIT/SUIT_Application.cxx

index f8772f951cf7aaa674a198ba1289ed4a04d204e2..e1393b9bb4baa849116a53940a262a775bff0a1c 100755 (executable)
@@ -644,10 +644,10 @@ int SUIT_Application::registerAction( const int id, QAction* a )
   myActionMap.insert( ident, a );
 
   if ( desktop() && desktop()->menuMgr() )
-    desktop()->menuMgr()->registerAction( a, id );
+    desktop()->menuMgr()->registerAction( a );
 
   if ( desktop() && desktop()->toolMgr() )
-    desktop()->toolMgr()->registerAction( a, id );
+    desktop()->toolMgr()->registerAction( a );
 
   if ( desktop() )
     desktop()->addAction( a );