From 20b05e38c4f364e4d21dab79a4f66103e6fb2dc3 Mon Sep 17 00:00:00 2001 From: Denis Dzyubenko Date: Tue, 12 May 2009 14:09:59 +0200 Subject: Mentioned in the doc that the QGesture pointer that is returned by the QGestureRecognizer *must* be the same object for a gesture sequence (i.e. GestureStarted, GestureUpdated and GestureFinished should use the same object) --- src/gui/kernel/qgesturerecognizer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/kernel/qgesturerecognizer.cpp b/src/gui/kernel/qgesturerecognizer.cpp index 41160cd..879f557 100644 --- a/src/gui/kernel/qgesturerecognizer.cpp +++ b/src/gui/kernel/qgesturerecognizer.cpp @@ -108,6 +108,9 @@ QString qt_getStandardGestureTypeName(Qt::GestureType gestureType); to QGestureRecognizer::GestureStarted or QGestureRecognizer::GestureFinished. + The returned QGesture object must point to the same object in a + single gesture sequence. + The gesture object is owned by the recognizer itself. */ -- cgit v0.12