-// Copyright (C) 2013-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2023 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
//================================================================
void GraphicsView_Scene::onSceneRectChanged( const QRectF& theRect )
{
+ (void)theRect; // unused in debug mode
#ifdef VIEWER_DEBUG
mySceneRectItem->setRect( theRect );
#endif
// Function : dragEnterEvent
// Purpose :
//================================================================
-void GraphicsView_Scene::dragEnterEvent( QGraphicsSceneDragDropEvent* e )
+void GraphicsView_Scene::dragEnterEvent( QGraphicsSceneDragDropEvent* /*e*/ ) //!< TODO: unused variable
{
//QGraphicsScene::dragEnterEvent( e ); // don't uncomment
}
// Function : dragLeaveEvent
// Purpose :
//================================================================
-void GraphicsView_Scene::dragLeaveEvent( QGraphicsSceneDragDropEvent* e )
+void GraphicsView_Scene::dragLeaveEvent( QGraphicsSceneDragDropEvent* /*e*/ ) //!< TODO: unused variable
{
//QGraphicsScene::dragLeaveEvent( e ); // don't uncomment
}
// Function : dragMoveEvent
// Purpose :
//================================================================
-void GraphicsView_Scene::dragMoveEvent( QGraphicsSceneDragDropEvent* e )
+void GraphicsView_Scene::dragMoveEvent( QGraphicsSceneDragDropEvent* /*e*/ ) //!< TODO: unused variable
{
//QGraphicsScene::dragMoveEvent( e ); // don't uncomment
}
// Function : dropEvent
// Purpose :
//================================================================
-void GraphicsView_Scene::dropEvent( QGraphicsSceneDragDropEvent* e )
+void GraphicsView_Scene::dropEvent( QGraphicsSceneDragDropEvent* /*e*/ ) //!< TODO: unused variable
{
//QGraphicsScene::dropEvent( e ); // don't uncomment
}