diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-23 08:29:05 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-23 08:29:05 (GMT) |
commit | 49e086e5267a5bb512163bb3c6ba568002669e9d (patch) | |
tree | 8a894d3655f70f9ddfe5d48f728615f812032272 /src | |
parent | 14b352dc58aa9790c8d1c2af0e546be975ef315c (diff) | |
download | Qt-49e086e5267a5bb512163bb3c6ba568002669e9d.zip Qt-49e086e5267a5bb512163bb3c6ba568002669e9d.tar.gz Qt-49e086e5267a5bb512163bb3c6ba568002669e9d.tar.bz2 |
Clear exceptions after a binding evaluation
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qmlexpression.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression.cpp b/src/declarative/qml/qmlexpression.cpp index 7f01f0e..3f531a3 100644 --- a/src/declarative/qml/qmlexpression.cpp +++ b/src/declarative/qml/qmlexpression.cpp @@ -323,6 +323,7 @@ QVariant QmlExpressionPrivate::evalQtScript(QObject *secondaryScope, bool *isUnd if (scriptEngine->hasUncaughtException()) { printException(scriptEngine); + scriptEngine->clearExceptions(); return QVariant(); } |