-// 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
\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() ) {
\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 ) ] );