From 8036221bd3a98a82cb2733cbbcf97a548360f761 Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 18 Mar 2010 10:24:50 +0000 Subject: [PATCH] it is not necessary to register actions in menu with same ids as in application --- src/SUIT/SUIT_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.2