diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-01-13 14:13:50 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2012-01-13 13:15:54 +0100 |
commit | d5182faf2f4faaf627c3df3e451d77838b975125 (patch) | |
tree | 1514dd2cb9d1b05f70eca5fd8703fab1817e39b0 /src/plugins/platforms | |
parent | e5709a59a0e94977fde68cc4872326b7666748e6 (diff) |
Do not use the removed primary flag for touch points.
Change-Id: I5ac4bf15b89a7d352c9971e6ce4882d49e686838
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandinputdevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp index adb64828e..48aa29171 100644 --- a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp +++ b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp @@ -450,8 +450,6 @@ void QWaylandInputDevice::handleTouchPoint(int id, int x, int y, Qt::TouchPointS tp.state = state; tp.id = id; - if (mTouchPoints.isEmpty()) - tp.flags |= QTouchEvent::TouchPoint::Primary; tp.pressure = tp.state == Qt::TouchPointReleased ? 0 : 1; mTouchPoints.append(tp); } |