summaryrefslogtreecommitdiff
path: root/tests/manual/quick/touchbrowser/touchmockingapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/quick/touchbrowser/touchmockingapplication.cpp')
-rw-r--r--tests/manual/quick/touchbrowser/touchmockingapplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/quick/touchbrowser/touchmockingapplication.cpp b/tests/manual/quick/touchbrowser/touchmockingapplication.cpp
index 5bc0196e9..41b731a6a 100644
--- a/tests/manual/quick/touchbrowser/touchmockingapplication.cpp
+++ b/tests/manual/quick/touchbrowser/touchmockingapplication.cpp
@@ -158,8 +158,8 @@ bool TouchMockingApplication::notify(QObject* target, QEvent* event)
// A move can have resulted in multiple buttons, so we need check them individually.
if (touchPoint.id() & Qt::LeftButton)
updateTouchPoint(mouseEvent, touchPoint, Qt::LeftButton);
- if (touchPoint.id() & Qt::MidButton)
- updateTouchPoint(mouseEvent, touchPoint, Qt::MidButton);
+ if (touchPoint.id() & Qt::MiddleButton)
+ updateTouchPoint(mouseEvent, touchPoint, Qt::MiddleButton);
if (touchPoint.id() & Qt::RightButton)
updateTouchPoint(mouseEvent, touchPoint, Qt::RightButton);