Salome HOME
updated copyright message
[modules/gui.git] / src / QxScene / QxScene_ViewWindow.cxx
index 47ab64cf2570863122fc7441aed33b96a5b3d806..e017a19f7f8d1b1fd570dd6828c60dfab2947235 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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 );
@@ -233,7 +235,7 @@ void QxScene_ViewWindow::onViewFitAll()
 /*!
     Set background of the viewport
 */
-void QxScene_ViewWindow::setBackgroundColor( const QColor& color )
+void QxScene_ViewWindow::setBackgroundColor( const QColor& /*color*/ )
 {
   DEBTRACE("QxScene_ViewWindow::setBackgroundColor");
 }
@@ -251,7 +253,7 @@ QColor QxScene_ViewWindow::backgroundColor() const
 /*!
   Custom resize event handler
 */
-void QxScene_ViewWindow::resizeEvent( QResizeEvent* theEvent )
+void QxScene_ViewWindow::resizeEvent( QResizeEvent* /*theEvent*/ )
 {
   DEBTRACE("QxScene_ViewWindow::resizeEvent");
 }