Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 74 files). Show all
Unified · Split
| @@ -150,7 +150,7 @@ QString encodeEntityIdIntoEntityUrl(const QString& url, const QString& entityID) · 149 unmodified lines | |||
| 150 | 150 | ||
| 151 | QString ScriptEngine::logException(const QScriptValue& exception) { | 151 | QString ScriptEngine::logException(const QScriptValue& exception) { |
| 152 | auto message = formatException(exception, _enableExtendedJSExceptions.get()); | 152 | auto message = formatException(exception, _enableExtendedJSExceptions.get()); |
| 153 | scriptErrorMessage(qPrintable(message)); | 153 | scriptErrorMessage(message); |
| 154 | return message; | 154 | return message; |
| 155 | } | 155 | } |
| 156 | 156 | ||
| @@ -461,7 +461,7 @@ void ScriptEngine::loadURL(const QUrl& scriptURL, bool reload) { · 304 unmodified lines | |||
| 461 | } | 461 | } |
| 462 | 462 | ||
| 463 | void ScriptEngine::scriptErrorMessage(const QString& message) { | 463 | void ScriptEngine::scriptErrorMessage(const QString& message) { |
| 464 | qCCritical(scriptengine) << message; | 464 | qCCritical(scriptengine) << qPrintable(message); |
| 465 | emit errorMessage(message); | 465 | emit errorMessage(message); |
| 466 | } | 466 | } |
| 467 | 467 | ||