summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-31 01:54:29 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-31 01:54:29 (GMT)
commit67667a5fee2f3c693e29e7c57b73fc8a6a508d01 (patch)
treecafd23c181d8dcfd5a5f62cc6479bce863dfcfd9 /src/declarative/graphicsitems
parente479a0468eb5e3a57d1f20f423c60894d7a1a7a3 (diff)
parent3b1e8bf54eeb0050f55720ffc90a2b77a73ca4df (diff)
downloadQt-67667a5fee2f3c693e29e7c57b73fc8a6a508d01.zip
Qt-67667a5fee2f3c693e29e7c57b73fc8a6a508d01.tar.gz
Qt-67667a5fee2f3c693e29e7c57b73fc8a6a508d01.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qdeclarativemousearea.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
index dde3366..6126a6f 100644
--- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp
+++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp
@@ -640,6 +640,7 @@ bool QDeclarativeMouseArea::setPressed(bool p)
QDeclarativeMouseEvent me(d->lastPos.x(), d->lastPos.y(), d->lastButton, d->lastButtons, d->lastModifiers, isclick, d->longPress);
if (d->pressed) {
emit pressed(&me);
+ emit positionChanged(&me);
} else {
emit released(&me);
if (isclick)