diff --git a/src/plugins/debugger/qml/qscriptdebuggerclient.cpp b/src/plugins/debugger/qml/qscriptdebuggerclient.cpp index 6af0162e06f6229c7795f2953535cd00921ee544..7aa0bfa83c0bbbfa126c3c782aa311d748adeca1 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("<p>An uncaught exception occurred:</p><p>%1</p>") .arg(Qt::escape(error)) - : tr("<p>An uncaught exception occurred in <i>%1</i>:</p><p>%2</p>") + : tr("<p>An uncaught exception occurred in '%1':</p><p>%2</p>") .arg(QLatin1String(stackFrames.value(0).fileUrl), Qt::escape(error)); showMessageBox(QMessageBox::Information, tr("Uncaught Exception"), msg); } else {