diff --git a/src/plugins/debugger/qml/qscriptdebuggerclient.cpp b/src/plugins/debugger/qml/qscriptdebuggerclient.cpp index 6af0162e06f..7aa0bfa83c0 100644 --- a/src/plugins/debugger/qml/qscriptdebuggerclient.cpp +++ b/src/plugins/debugger/qml/qscriptdebuggerclient.cpp @@ -469,7 +469,7 @@ void QScriptDebuggerClient::messageReceived(const QByteArray &data) QString msg = stackFrames.isEmpty() ? tr("
An uncaught exception occurred:
%1
") .arg(Qt::escape(error)) - : tr("An uncaught exception occurred in %1:
%2
") + : tr("An uncaught exception occurred in '%1':
%2
") .arg(QLatin1String(stackFrames.value(0).fileUrl), Qt::escape(error)); showMessageBox(QMessageBox::Information, tr("Uncaught Exception"), msg); } else {