From be15f967163a0e92e517920278b648c2ffc25eb9 Mon Sep 17 00:00:00 2001 From: "Bradley T. Hughes" Date: Mon, 8 Jun 2009 12:31:04 +0200 Subject: 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. --- tests/auto/qtouchevent/tst_qtouchevent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qtouchevent/tst_qtouchevent.cpp b/tests/auto/qtouchevent/tst_qtouchevent.cpp index 849ef80..1550935 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); -- cgit v0.12