From 56aa9370dbafa8ee431dd2ffabef309aae01ec2f Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Tue, 30 Mar 2010 11:11:01 +1000 Subject: Don't emit onPositionChanged before onPressed Task-number: QTBUG-9383 --- src/declarative/graphicsitems/qdeclarativemousearea.cpp | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v0.12