summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscripterrorlogwidget.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-09-30 09:12:01 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-30 01:17:14 +0200
commitdd08ff00ced63fcf2e712a9200024754e5e06027 (patch)
tree0372a7706aee7e31eab99c745e4cd2fb678d179c /src/scripttools/debugging/qscripterrorlogwidget.cpp
parent6ae933fa3e88f46cc43a24885ef08a15c3f19983 (diff)
downloadqtscript-dd08ff00ced63fcf2e712a9200024754e5e06027.tar.gz
Fixed compile for removal of Qt::escape
Broken by source incompatible change in qtbase, b863df7de926448cf0057272c16da04b7cfb11ee Change-Id: I5fc17b3edf934d9aea9bc56dc09e66a2bcd508a7 Reviewed-on: http://codereview.qt-project.org/5820 Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'src/scripttools/debugging/qscripterrorlogwidget.cpp')
-rw-r--r--src/scripttools/debugging/qscripterrorlogwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscripterrorlogwidget.cpp b/src/scripttools/debugging/qscripterrorlogwidget.cpp
index 34f4e77..34751de 100644
--- a/src/scripttools/debugging/qscripterrorlogwidget.cpp
+++ b/src/scripttools/debugging/qscripterrorlogwidget.cpp
@@ -121,7 +121,7 @@ void QScriptErrorLogWidget::message(
Q_D(QScriptErrorLogWidget);
QString html;
html.append(QString::fromLatin1("<b>%0</b> %1<br>")
- .arg(QDateTime::currentDateTime().toString()).arg(Qt::escape(text)));
+ .arg(QDateTime::currentDateTime().toString()).arg(text.toHtmlEscaped()));
d->outputEdit->insertHtml(html);
d->outputEdit->scrollToBottom();
}