summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtouchevent
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 12:31:04 +0200
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 12:31:04 +0200
commitbe15f967163a0e92e517920278b648c2ffc25eb9 (patch)
tree41105c413b6fe71161bc13aa154c3fb6a03fd196 /tests/auto/qtouchevent
parenta76b42f3a5ccbe82660aff03fa18dd9bbdd53f52 (diff)
Send the TouchEnd event with Qt::TouchPointReleased mask
The mask isn't used and changing it doesn't do anything, so this is just a cosmetic/clarification change.
Diffstat (limited to 'tests/auto/qtouchevent')
-rw-r--r--tests/auto/qtouchevent/tst_qtouchevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtouchevent/tst_qtouchevent.cpp b/tests/auto/qtouchevent/tst_qtouchevent.cpp
index 849ef80e4a..1550935a73 100644
--- a/tests/auto/qtouchevent/tst_qtouchevent.cpp
+++ b/tests/auto/qtouchevent/tst_qtouchevent.cpp
@@ -210,7 +210,7 @@ void tst_QTouchEvent::touchUpdateAndEndNeverPropagate()
// send the touch end, same thing should happen as with touch update
QTouchEvent touchEndEvent(QEvent::TouchEnd,
Qt::NoModifier,
- Qt::TouchPointMoved,
+ Qt::TouchPointReleased,
touchPoints);
res = QApplication::sendEvent(&child, &touchEndEvent);
QVERIFY(res);