From: nkv Date: Mon, 24 Mar 2008 10:05:39 +0000 (+0000) Subject: IPAL 19144 - No toolbar in Gauss Viewer X-Git-Tag: V5_0_0a1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b483698042cb985e8343e1f2f1f6ba29873fcbc;p=modules%2Fvisu.git IPAL 19144 - No toolbar in Gauss Viewer --- 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"),