Salome HOME
Copyright update 2020
[modules/yacs.git] / src / genericgui / Scene.cxx
index 23e7ee2e5376c6fb6f1e4bc508a15ab47b4d4916..2ec758c78f6691e2d89092a7e9cb0784b93f059f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  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
@@ -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)
     {