X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FQxScene%2FQxScene_ViewWindow.cxx;h=908f1428cda3435b133b3d571913152dccaf36e6;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=7cd14a823dce78a2cd728bb4acf78c70bd9b6d1d;hpb=bb8609caf7881d966fbb88dec0a7822736da93f5;p=modules%2Fgui.git diff --git a/src/QxScene/QxScene_ViewWindow.cxx b/src/QxScene/QxScene_ViewWindow.cxx index 7cd14a823..908f1428c 100644 --- a/src/QxScene/QxScene_ViewWindow.cxx +++ b/src/QxScene/QxScene_ViewWindow.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -157,7 +157,9 @@ void QxScene_ViewWindow::createToolBar() { DEBTRACE("QxScene_ViewWindow::createToolBar"); QtxActionToolMgr* mgr = toolMgr(); - myToolBar = mgr->createToolBar( tr( "LBL_TOOLBAR_LABEL" ), false ); + myToolBar = mgr->createToolBar( tr( "LBL_TOOLBAR_LABEL" ), // title (language-dependant) + QString( "QxSceneViewOperations" ), // name (language-independant) + false ); // disable floatable toolbar mgr->append( ScaleOpId, myToolBar ); mgr->append( MoveOpId, myToolBar ); mgr->append( ResetId, myToolBar );