From a45347cb6d9be098272132ea15bd9b7388ef808a Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Mon, 16 Jan 2012 13:52:15 +1000 Subject: speed up sensor gesture auto test Change-Id: Ie29714abcfa3f11d0507df6757022060100762a1 Sanity-Review: Qt Sanity Bot Reviewed-by: Lorn Potter --- tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp b/tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp index 810d9e53..de21e281 100644 --- a/tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp +++ b/tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp @@ -50,7 +50,7 @@ QTestRecognizer::QTestRecognizer(QObject *parent) : QSensorGestureRecognizer(parent), active(0) { - QTimer::singleShot(2000,this, SLOT(timeout())); + timeout(); } QTestRecognizer::~QTestRecognizer() @@ -61,7 +61,7 @@ void QTestRecognizer::timeout() { Q_EMIT detected("tested"); Q_EMIT tested(); - QTimer::singleShot(2000,this, SLOT(timeout())); + QTimer::singleShot(10,this, SLOT(timeout())); } -- cgit v1.2.3