summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-06-15 14:16:45 (GMT)
committermread <qt-info@nokia.com>2009-06-15 14:16:45 (GMT)
commitdf82f57bf7b2194a798e10a8b375c07d33dde925 (patch)
treed7df027128188a6409b1ca161cd28463e73b500d /src
parentc60b92d9467e951e813619b14c432a871f96d809 (diff)
downloadQt-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.cpp8
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;