diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-07-21 06:50:00 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-07-22 05:35:52 (GMT) |
commit | aa46924b3165e87ae195964fd18396829673bca7 (patch) | |
tree | 0abe6b11c73d0b759c3849f4ad4300abb486b1bf /src/declarative/fx/qfxflickable.cpp | |
parent | 60aeb88aebb18dc326667f45d734fea38743bf02 (diff) | |
download | Qt-aa46924b3165e87ae195964fd18396829673bca7.zip Qt-aa46924b3165e87ae195964fd18396829673bca7.tar.gz Qt-aa46924b3165e87ae195964fd18396829673bca7.tar.bz2 |
First round of cleanups for QFxItem
Removed some methods that are already implemented
in QGraphicsItem/Object.
Diffstat (limited to 'src/declarative/fx/qfxflickable.cpp')
-rw-r--r-- | src/declarative/fx/qfxflickable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxflickable.cpp b/src/declarative/fx/qfxflickable.cpp index 24f6d72..1db6e8b 100644 --- a/src/declarative/fx/qfxflickable.cpp +++ b/src/declarative/fx/qfxflickable.cpp @@ -1019,7 +1019,7 @@ bool QFxFlickable::sendMouseEvent(QGraphicsSceneMouseEvent *event) { Q_D(QFxFlickable); QGraphicsSceneMouseEvent mouseEvent(event->type()); - QRectF myRect = mapToScene(QRectF(0, 0, width(), height())); + QRectF myRect = mapToScene(QRectF(0, 0, width(), height())).boundingRect(); QFxItem *grabber = static_cast<QFxItem*>(mouseGrabberItem()); if ((d->stealMouse || myRect.contains(event->scenePos().toPoint())) && (!grabber || !grabber->keepMouseGrab())) { mouseEvent.setAccepted(false); |