projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b4d67
)
QTouchEvent::TouchPoint::isPrimary() is gone.
author
Samuel Rødal
<samuel.rodal@nokia.com>
Fri, 13 Jan 2012 09:15:35 +0000
(10:15 +0100)
committer
Qt by Nokia
<qt-info@nokia.com>
Fri, 13 Jan 2012 16:13:32 +0000
(17:13 +0100)
Change-Id: I6fbaac28a060fd527e0226d55419a9055125368a
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/items/qquickcanvas.cpp
patch
|
blob
|
history
diff --git
a/src/quick/items/qquickcanvas.cpp
b/src/quick/items/qquickcanvas.cpp
index
cdf6b6d
..
9b29a44
100644
(file)
--- a/
src/quick/items/qquickcanvas.cpp
+++ b/
src/quick/items/qquickcanvas.cpp
@@
-348,7
+348,7
@@
void QQuickCanvasPrivate::translateTouchEvent(QTouchEvent *touchEvent)
touchPoint.setStartScenePos(touchPoint.startPos());
touchPoint.setLastScenePos(touchPoint.lastPos());
- if (
touchPoint.isPrimary()
)
+ if (
i == 0
)
lastMousePosition = touchPoint.pos().toPoint();
}
touchEvent->setTouchPoints(touchPoints);