Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -493,7 +493,7 @@ void ScriptEngine::evaluate() { · 492 unmodified lines | |||
| 493 | 493 | ||
| 494 | QScriptValue result = evaluate(_scriptContents); | 494 | QScriptValue result = evaluate(_scriptContents); |
| 495 | 495 | ||
| 496 | // TODO: why do we check this twice? It seems like the call to clearExcpetions() in the lower level evaluate call | 496 | // TODO: why do we check this twice? It seems like the call to clearExceptions() in the lower level evaluate call |
| 497 | // will cause this code to never actually run... | 497 | // will cause this code to never actually run... |
| 498 | if (hasUncaughtException()) { | 498 | if (hasUncaughtException()) { |
| 499 | int line = uncaughtExceptionLineNumber(); | 499 | int line = uncaughtExceptionLineNumber(); |