Fix the QTouchEventSequence code snippet so that it compiles

The release() function also requires the QPoint to be set which was
missing from the code snippet.

Change-Id: I4a5cd2bed0915eb1fbaac3a34fb229eac9c284df
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
This commit is contained in:
Andy Shaw 2013-04-16 06:40:04 +02:00 committed by The Qt Project
parent 9ec493fa41
commit 8cbc7ef05c

View File

@ -229,8 +229,8 @@ QTest::touchEvent(&widget)
.move(0, QPoint(12, 12)) .move(0, QPoint(12, 12))
.move(1, QPoint(45, 5)); .move(1, QPoint(45, 5));
QTest::touchEvent(&widget) QTest::touchEvent(&widget)
.release(0) .release(0, QPoint(12, 12))
.release(1); .release(1, QPoint(45, 5));
//! [25] //! [25]