diff options
author | mread <qt-info@nokia.com> | 2009-06-15 14:16:45 (GMT) |
---|---|---|
committer | mread <qt-info@nokia.com> | 2009-06-15 14:16:45 (GMT) |
commit | df82f57bf7b2194a798e10a8b375c07d33dde925 (patch) | |
tree | d7df027128188a6409b1ca161cd28463e73b500d /src | |
parent | c60b92d9467e951e813619b14c432a871f96d809 (diff) | |
download | Qt-df82f57bf7b2194a798e10a8b375c07d33dde925.zip Qt-df82f57bf7b2194a798e10a8b375c07d33dde925.tar.gz Qt-df82f57bf7b2194a798e10a8b375c07d33dde925.tar.bz2 |
undeclared variable when exceptions disabled
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qeventdispatcher_s60.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/kernel/qeventdispatcher_s60.cpp b/src/gui/kernel/qeventdispatcher_s60.cpp index fcf572e..51878df 100644 --- a/src/gui/kernel/qeventdispatcher_s60.cpp +++ b/src/gui/kernel/qeventdispatcher_s60.cpp @@ -70,12 +70,14 @@ bool QEventDispatcherS60::processEvents ( QEventLoop::ProcessEventsFlags flags ) m_noInputEvents = false; ret = sendDeferredInputEvents() || ret; } - + ret = QEventDispatcherSymbian::processEvents(flags) || ret; - + m_noInputEvents = oldNoInputEventsValue; } QT_CATCH (const std::exception& ex) { - CActiveScheduler::Current()->Error(qt_translateExceptionToSymbianError(ex)); +#ifndef QT_NO_EXCEPTIONS + CActiveScheduler::Current()->Error(qt_translateExceptionToSymbianError(ex)); +#endif } return ret; |