diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-09-09 07:26:25 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-09-09 08:31:10 (GMT) |
commit | bb5c934d3e2e07ddf3a1c299b2111d7119a01eb5 (patch) | |
tree | c539591ba2ed2eb6a0b724d03073ed4f43470b81 /src/gui/kernel/qwindowsysteminterface_qpa.cpp | |
parent | 34625a376b7d08856c6de1f52179d86aaaa30f14 (diff) | |
download | Qt-bb5c934d3e2e07ddf3a1c299b2111d7119a01eb5.zip Qt-bb5c934d3e2e07ddf3a1c299b2111d7119a01eb5.tar.gz Qt-bb5c934d3e2e07ddf3a1c299b2111d7119a01eb5.tar.bz2 |
Lighthouse: Various compiler warning/error fixes
compliments from Vapula
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qwindowsysteminterface_qpa.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface_qpa.cpp b/src/gui/kernel/qwindowsysteminterface_qpa.cpp index 7b83fd3..bb29cbf 100644 --- a/src/gui/kernel/qwindowsysteminterface_qpa.cpp +++ b/src/gui/kernel/qwindowsysteminterface_qpa.cpp @@ -207,7 +207,6 @@ void QWindowSystemInterface::handleTouchEvent(QWidget *tlw, ulong timestamp, QEv Qt::TouchPointStates states; QTouchEvent::TouchPoint p; - int primaryPoint = -1; QList<struct TouchPoint>::const_iterator point = points.constBegin(); QList<struct TouchPoint>::const_iterator end = points.constEnd(); while (point != end) { @@ -217,7 +216,6 @@ void QWindowSystemInterface::handleTouchEvent(QWidget *tlw, ulong timestamp, QEv Qt::TouchPointStates state = point->state; if (point->isPrimary) { state |= Qt::TouchPointPrimary; - primaryPoint = point->id; } p.setState(state); p.setRect(point->area); |