diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-07-31 23:31:56 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2016-07-31 21:47:04 +0000 |
commit | b4f05d7010e108564a36359755b114a26298a827 (patch) | |
tree | 50b7adc61f394010f5aa5bf4d7a93884502c9385 /tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | |
parent | 435e3e95c2285f88b5cfcdd4709c0c614582098a (diff) |
Let TestTouchItem::reset reset the event count
Change-Id: I37ddf4d45fd3457decb35a597876008ea9d09d11
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickwindow/tst_qquickwindow.cpp')
-rw-r--r-- | tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 6878abb178..51fe7eab0c 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -157,6 +157,7 @@ public: lastVelocity = lastVelocityFromMouseMove = QVector2D(); lastMousePos = QPointF(); lastMouseCapabilityFlags = 0; + touchEventCount = 0; } static void clearMousePressCounter() |