Salome HOME
Copyright update 2020
[modules/yacs.git] / src / genericgui / Scene.cxx
index 1da5e3dc108ba3599be7b43cebab2780584805ce..2ec758c78f6691e2d89092a7e9cb0784b93f059f 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2006-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2020  CEA/DEN, EDF R&D
 //
 // 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
@@ -69,7 +69,7 @@ bool Scene::isZooming()
 void Scene::helpEvent(QGraphicsSceneHelpEvent *event)
 {
   DEBTRACE("Scene::helpEvent");
-  QGraphicsItem *qit = itemAt(event->scenePos());
+  QGraphicsItem *qit = itemAt(event->scenePos(), QTransform());
   SceneItem * item = dynamic_cast<SceneItem*>(qit);
   if (item)
     {