From 1d069ad8a4d05979cb1db4fdb1281593b41d995a Mon Sep 17 00:00:00 2001 From: ptv Date: Tue, 31 Oct 2006 12:30:37 +0000 Subject: [PATCH] emit signal after remove view manager from application list --- src/STD/STD_Application.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 7755d6cfa..85b71d09c 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -677,8 +677,6 @@ void STD_Application::removeViewManager( SUIT_ViewManager* vm ) vm->closeAllViews(); - emit viewManagerRemoved( vm ); - vm->disconnectPopupRequest( this, SLOT( onConnectPopupRequest( SUIT_PopupClient*, QContextMenuEvent* ) ) ); disconnect( vm, SIGNAL( activated( SUIT_ViewManager* ) ), this, SLOT( onViewManagerActivated( SUIT_ViewManager* ) ) ); @@ -686,6 +684,8 @@ void STD_Application::removeViewManager( SUIT_ViewManager* vm ) if ( myActiveViewMgr == vm ) myActiveViewMgr = 0; + + emit viewManagerRemoved( vm ); } /*!Remove all view managers from view managers list.*/ -- 2.39.2