diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-18 15:56:39 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-20 13:10:02 (GMT) |
commit | c7320034f2a0f9433188a45ab507fd361a270f19 (patch) | |
tree | 874a350887f8484253b53e4fa250c38400373dca /src/gui/graphicsview | |
parent | 2836a2be1be91cd17fd1e525d47e0ec60d153657 (diff) | |
download | Qt-c7320034f2a0f9433188a45ab507fd361a270f19.zip Qt-c7320034f2a0f9433188a45ab507fd361a270f19.tar.gz Qt-c7320034f2a0f9433188a45ab507fd361a270f19.tar.bz2 |
Dont accept graphicsscenegesture event by default
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r-- | src/gui/graphicsview/qgraphicssceneevent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.cpp b/src/gui/graphicsview/qgraphicssceneevent.cpp index 059d89d..bb13bd8 100644 --- a/src/gui/graphicsview/qgraphicssceneevent.cpp +++ b/src/gui/graphicsview/qgraphicssceneevent.cpp @@ -1737,6 +1737,7 @@ void QGraphicsSceneMoveEvent::setNewPos(const QPointF &pos) QGraphicsSceneGestureEvent::QGraphicsSceneGestureEvent() : QGraphicsSceneEvent(QEvent::GraphicsSceneGesture) { + setAccepted(false); } /*! |