summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensorgestures
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2012-01-16 13:52:15 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-16 05:39:16 +0100
commita45347cb6d9be098272132ea15bd9b7388ef808a (patch)
tree493b314b74d15384e35cca3e3ee0969d1cf1bc40 /tests/auto/qsensorgestures
parent38a15c4689622ab051bfd96d50b74596b85bd0f1 (diff)
speed up sensor gesture auto test
Change-Id: Ie29714abcfa3f11d0507df6757022060100762a1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'tests/auto/qsensorgestures')
-rw-r--r--tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp4
1 files changed, 2 insertions, 2 deletions
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()));
}