From 7868384261dd74f8cf44684a69fe095957bafd4b Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 10 Aug 2009 15:03:42 +0200 Subject: Make eventloop autotest compile for windows. --- tests/auto/qeventloop/tst_qeventloop.cpp | 4 ++-- 1 file 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 -- cgit v0.12