diff options
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian.cpp | 4 | ||||
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_symbian_p.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index 27118be..1c79aa6 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -979,10 +979,10 @@ QList<QEventDispatcherSymbian::TimerInfo> QEventDispatcherSymbian::registeredTim */ void CQtActiveScheduler::Error(TInt aError) const { - try { + QT_TRY { qWarning("Error from active scheduler %d", aError); } - catch (const std::bad_alloc&) {} // ignore alloc fails, nothing more can be done + QT_CATCH (const std::bad_alloc&) {} // ignore alloc fails, nothing more can be done } QT_END_NAMESPACE diff --git a/src/corelib/kernel/qeventdispatcher_symbian_p.h b/src/corelib/kernel/qeventdispatcher_symbian_p.h index c1cf7b6..b39d6df 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian_p.h +++ b/src/corelib/kernel/qeventdispatcher_symbian_p.h @@ -210,10 +210,10 @@ private: }; class Q_CORE_EXPORT CQtActiveScheduler : public CActiveScheduler - { +{ public: // from CActiveScheduler virtual void Error(TInt aError) const; - }; +}; class Q_CORE_EXPORT QEventDispatcherSymbian : public QAbstractEventDispatcher { |