diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2012-01-16 13:52:15 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-16 05:39:16 +0100 |
commit | a45347cb6d9be098272132ea15bd9b7388ef808a (patch) | |
tree | 493b314b74d15384e35cca3e3ee0969d1cf1bc40 /tests | |
parent | 38a15c4689622ab051bfd96d50b74596b85bd0f1 (diff) | |
download | qtsensors-a45347cb6d9be098272132ea15bd9b7388ef808a.tar.gz |
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')
-rw-r--r-- | tests/auto/qsensorgestures/plugins/test/qtestrecognizer.cpp | 4 |
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 810d9e5..de21e28 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())); } |