diff --git a/scene/connectionPoint.cc b/scene/connectionPoint.cc index 8027eb5b9ae8c492ed1253fe475592d0ea7204af..30afc298d8175899ff346201bdf4fed8359493c4 100644 --- a/scene/connectionPoint.cc +++ b/scene/connectionPoint.cc @@ -85,7 +85,7 @@ ConnectionPoint::ConnectionPoint (ElementInOut *_e, QGraphicsItem *_parent) : setBrush (QColor (64,64,64)); - setAcceptsHoverEvents (true); + setAcceptHoverEvents (true); } //------------------------------------------------------------------------------ diff --git a/scene/graphicsScene.cc b/scene/graphicsScene.cc index 451de907baed4a1bc851097b58250d066a889c17..858c9c1109c204e511feb344c42496647b8d7f81 100644 --- a/scene/graphicsScene.cc +++ b/scene/graphicsScene.cc @@ -372,7 +372,7 @@ void GraphicsScene::mousePressEvent (QGraphicsSceneMouseEvent *_event) QGraphicsScene::mousePressEvent (_event); selectionStart_ = _event->scenePos (); - if (itemAt (selectionStart_) != elementArea_ && !_event->isAccepted ()) + if (itemAt (selectionStart_,QTransform()) != elementArea_ && !_event->isAccepted ()) { if (_event->modifiers () & (Qt::ControlModifier | Qt::ShiftModifier)) setSelectionArea (p);