From 14a4430a0a5bebcb75e29d62c3113436a173c247 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 27 Mar 2008 15:06:43 +0000 Subject: [PATCH] Hide scaling button (bug 19383) --- src/VVTK/VVTK_MainWindow.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VVTK/VVTK_MainWindow.cxx b/src/VVTK/VVTK_MainWindow.cxx index 2395f8d0..6ad3dbb7 100644 --- a/src/VVTK/VVTK_MainWindow.cxx +++ b/src/VVTK/VVTK_MainWindow.cxx @@ -80,12 +80,12 @@ VVTK_MainWindow if ( getToolBar() ) addToolBar( Qt::LeftToolBarArea, getToolBar() ); - //TO DO: - //myActionsMap[NonIsometric]->removeFrom(myToolBar); - QtxAction* anAction = 0; QtxActionToolMgr* mgr = myViewWindow->toolMgr(); + //myActionsMap[NonIsometric]->removeFrom(myToolBar); + mgr->remove(NonIsometric, myToolBar); + // Dump view anAction = new QtxAction(tr("MNU_DUMP_VIEW"), theResourceMgr->loadPixmap( "VTKViewer", tr( "ICON_VTKVIEWER_VIEW_DUMP" ) ), -- 2.39.2