Cancel mousearea pressed state when window is deactivated
authorCharles Yin <charles.yin@nokia.com>
Fri, 29 Jul 2011 00:38:35 +0000 (10:38 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 08:46:54 +0000 (10:46 +0200)
commit09f4bd20d7514f229338667effdf8519f1722b3f
treecb907a723793b0102ad3965ba2855c364c32a21b
parent6f146a5d2ea893b13e4cfcd90243e66f7c9a0083
Cancel mousearea pressed state when window is deactivated

Change-Id: I1cc21c338576a2ac3b1e8e282e8e4de3bc63759a
Task-number:QTBUG-19904
Reviewed-on: http://codereview.qt.nokia.com/2357
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qsgcanvas.cpp
src/declarative/items/qsgitem.cpp
src/declarative/items/qsgitem.h
src/declarative/items/qsgmousearea.cpp
src/declarative/items/qsgmousearea_p.h
tests/auto/declarative/qsgmousearea/data/pressedCanceled.qml [new file with mode: 0644]
tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp