Commit a486a568 authored by Matthias Möller's avatar Matthias Möller

- replaced deprecated qt4 functions

- removed some unnecessary qt headers

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17078 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4dbaa449
......@@ -85,7 +85,7 @@ ConnectionPoint::ConnectionPoint (ElementInOut *_e, QGraphicsItem *_parent) :
setBrush (QColor (64,64,64));
setAcceptsHoverEvents (true);
setAcceptHoverEvents (true);
}
//------------------------------------------------------------------------------
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment