diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-30 01:11:01 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-30 01:11:01 (GMT) |
commit | 56aa9370dbafa8ee431dd2ffabef309aae01ec2f (patch) | |
tree | 3109f140940eec2cfea654c9dbf97f84791f8fd1 | |
parent | 1494bc444f43e98250f9d29c50a128e5cf4ca328 (diff) | |
download | Qt-56aa9370dbafa8ee431dd2ffabef309aae01ec2f.zip Qt-56aa9370dbafa8ee431dd2ffabef309aae01ec2f.tar.gz Qt-56aa9370dbafa8ee431dd2ffabef309aae01ec2f.tar.bz2 |
Don't emit onPositionChanged before onPressed
Task-number: QTBUG-9383
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativemousearea.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp index 26242bc..dde3366 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp +++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp @@ -639,7 +639,6 @@ bool QDeclarativeMouseArea::setPressed(bool p) d->pressed = p; QDeclarativeMouseEvent me(d->lastPos.x(), d->lastPos.y(), d->lastButton, d->lastButtons, d->lastModifiers, isclick, d->longPress); if (d->pressed) { - emit positionChanged(&me); emit pressed(&me); } else { emit released(&me); |