diff options
author | axis <qt-info@nokia.com> | 2009-08-12 09:38:39 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-08-12 09:41:09 (GMT) |
commit | 9bba7e42a2988967507d536c497c54efc791eb67 (patch) | |
tree | 07684ff153fab42fa64e0fa66fce9824c773b911 | |
parent | 7d6c47d81eec6696a1684ebc459bdaf05538dd2e (diff) | |
download | Qt-9bba7e42a2988967507d536c497c54efc791eb67.zip Qt-9bba7e42a2988967507d536c497c54efc791eb67.tar.gz Qt-9bba7e42a2988967507d536c497c54efc791eb67.tar.bz2 |
Removed call to base class mouseReleaseEvent that shouldn't happen.
In that codepath, the item is editable, and we don't want the normal
mouse handling (which may move the item) to happen.
RevBy: Andreas
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 2ef78b2..7091b5d 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -9108,7 +9108,6 @@ void QGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) QApplication::sendEvent(receiver, &_event); } } - QGraphicsItem::mouseReleaseEvent(event); dd->clickCausedFocus = 0; dd->sendControlEvent(event); |