From 5b483698042cb985e8343e1f2f1f6ba29873fcbc Mon Sep 17 00:00:00 2001 From: nkv Date: Mon, 24 Mar 2008 10:05:39 +0000 Subject: [PATCH] IPAL 19144 - No toolbar in Gauss Viewer --- src/VVTK/VVTK_MainWindow.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/VVTK/VVTK_MainWindow.cxx b/src/VVTK/VVTK_MainWindow.cxx index b4875ca2..2395f8d0 100644 --- a/src/VVTK/VVTK_MainWindow.cxx +++ b/src/VVTK/VVTK_MainWindow.cxx @@ -77,8 +77,9 @@ VVTK_MainWindow myInteractorStyle->Delete(); - if ( getToolBar() ) + if ( getToolBar() ) addToolBar( Qt::LeftToolBarArea, getToolBar() ); + //TO DO: //myActionsMap[NonIsometric]->removeFrom(myToolBar); @@ -94,7 +95,7 @@ VVTK_MainWindow mgr->registerAction( anAction, DumpId ); // Recording - myRecordingToolBar = mgr->createToolBar( tr( "LBL_TOOLBAR_RECORD_LABEL" ) ); + myRecordingToolBar = mgr->createToolBar( tr( "LBL_TOOLBAR_RECORD_LABEL" ), -1, this); addToolBar( Qt::LeftToolBarArea, mgr->toolBar( myRecordingToolBar ) ); myStartAction = new QtxAction(tr("MNU_VVTK_RECORDING_START"), -- 2.39.2