From: asl Date: Thu, 18 Mar 2010 10:24:50 +0000 (+0000) Subject: it is not necessary to register actions in menu with same ids as in application X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8036221bd3a98a82cb2733cbbcf97a548360f761;p=modules%2Fgui.git it is not necessary to register actions in menu with same ids as in application --- diff --git a/src/SUIT/SUIT_Application.cxx b/src/SUIT/SUIT_Application.cxx index f8772f951..e1393b9bb 100755 --- a/src/SUIT/SUIT_Application.cxx +++ b/src/SUIT/SUIT_Application.cxx @@ -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 );