mouse synthesis: don't say the left button is pressed during a release
authorShawn Rutledge <shawn.rutledge@digia.com>
Thu, 2 May 2013 13:57:01 +0000 (15:57 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 4 May 2013 17:26:14 +0000 (19:26 +0200)
commit4730e5d9b3574019f67ba29283308d5020385b59
treed562eafad502fdbdb984bcd66cffe041d15effaa
parentd9effc96522a2df9567c2dd43ccee00e777add43
mouse synthesis: don't say the left button is pressed during a release

Follows the same reasoning as Iefe63cd753f9f8bb04278fd04a4d728e3deda25e
in qtbase: buttons should have only the buttons which are still pressed.

Change-Id: I894df43254eb1b1ce173fd7acc7190e9765beb48
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/quick/items/qquickwindow.cpp