From 6181676ca61f39f389a8c3ca293c369e7f80b1e8 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 2 Feb 2012 17:29:15 +0200 Subject: Update wrong docs for TouchPoint::id(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What it states is simply not true, at least certainly not since QPA has been introduced. Change-Id: If8aa2120cf5fc9ca85f4f0e6832b2115a5b71fe1 Reviewed-by: Samuel Rødal --- src/gui/kernel/qevent.cpp | 5 ++--- 1 file 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 { -- cgit v1.2.3