Salome HOME
Updated copyright comment
[modules/gui.git] / src / Qtx / QtxShortcutEdit.cxx
old mode 100755 (executable)
new mode 100644 (file)
index ebee3e2..6cf00f2
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  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
 // 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
@@ -242,7 +242,7 @@ QtxShortcutTree::~QtxShortcutTree(){}
   \param event event
   \return \c true if further event processing should be stopped
 */
-bool QtxShortcutTree::eventFilter(QObject* obj, QEvent* event) 
+bool QtxShortcutTree::eventFilter(QObject* /*obj*/, QEvent* event) 
 { 
   if ( currentItem() && currentItem()->isSelected() ) {
     
@@ -273,7 +273,7 @@ bool QtxShortcutTree::eventFilter(QObject* obj, QEvent* event)
   \param cur the current item
   \param prev the previous current item
 */
-void QtxShortcutTree::onCurrentItemChanged( QTreeWidgetItem* cur, QTreeWidgetItem* prev )
+void QtxShortcutTree::onCurrentItemChanged( QTreeWidgetItem* /*cur*/, QTreeWidgetItem* prev )
 {
   if ( prev && prev->text( 1 ).endsWith( "+" ) )
       prev->setText( 1, myPrevBindings[ prev->parent()->text( 0 ) ][ prev->text( 0 ) ] );