From 5756ee2af7b372c2500306facf45ef9bbe421801 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 22 Oct 2008 04:53:39 +0000 Subject: [PATCH] rollback of improvement of using same ids in the application and menu/tool managers --- 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 35c44b80e..ead59e4c4 100755 --- a/src/SUIT/SUIT_Application.cxx +++ b/src/SUIT/SUIT_Application.cxx @@ -639,10 +639,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 ); return ident; } -- 2.39.2