From 5f6ad79a145c49cd435cf3d37f3f0c804351b330 Mon Sep 17 00:00:00 2001
From: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Date: Mon, 5 Mar 2012 14:32:25 +0100
Subject: [PATCH] UI text: use single quotes to emphasize variables

Change-Id: I7d5ac28e27d942b7979aaf46cd464ba7989d5d02
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
---
 src/plugins/debugger/qml/qscriptdebuggerclient.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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("<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 {
-- 
GitLab