summaryrefslogtreecommitdiffstats
path: root/tests/auto/qeventloop
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qeventloop')
-rw-r--r--tests/auto/qeventloop/tst_qeventloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qeventloop/tst_qeventloop.cpp b/tests/auto/qeventloop/tst_qeventloop.cpp
index 6b113e0..fe0d1c2 100644
--- a/tests/auto/qeventloop/tst_qeventloop.cpp
+++ b/tests/auto/qeventloop/tst_qeventloop.cpp
@@ -222,6 +222,7 @@ void tst_QEventLoop::init()
void tst_QEventLoop::cleanup()
{ }
+#ifdef Q_OS_SYMBIAN
class OnlySymbianActiveScheduler_helper : public QObject
{
Q_OBJECT
@@ -243,10 +244,8 @@ public slots:
// Let all the events occur twice so we know they reactivated after
// each occurrence.
if (++timerCount >= 2) {
-#ifdef Q_OS_SYMBIAN
// This will hopefully run last, so stop the active scheduler.
CActiveScheduler::Stop();
-#endif
}
}
void zeroTimerSlot()
@@ -270,6 +269,7 @@ private:
int zeroTimerCount;
int notifierCount;
};
+#endif
void tst_QEventLoop::onlySymbianActiveScheduler() {
#ifndef Q_OS_SYMBIAN