summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2012-02-02 17:29:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-02 17:19:20 +0100
commit6181676ca61f39f389a8c3ca293c369e7f80b1e8 (patch)
treef36900a9ad168849f1f48ae50cf97c0078fe1fc0 /src/gui/kernel
parent71002f830b1ac0a476d449553a065a73b8f8ac22 (diff)
Update wrong docs for TouchPoint::id().
What it states is simply not true, at least certainly not since QPA has been introduced. Change-Id: If8aa2120cf5fc9ca85f4f0e6832b2115a5b71fe1 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index f8cc6f5a73..502ec304df 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -3567,9 +3567,8 @@ QTouchEvent::TouchPoint::~TouchPoint()
/*!
Returns the id number of this touch point.
- Id numbers are globally sequential, starting at zero, meaning the
- first touch point in the application has id 0, the second has id 1,
- and so on.
+ Do not assume that id numbers start at zero or that they are sequential.
+ Such an assumption is often false due to the way the underlying drivers work.
*/
int QTouchEvent::TouchPoint::id() const
{