html-escape text appended to the log windows.

This commit is contained in:
Oswald Buddenhagen
2008-12-03 10:55:18 +01:00
parent e9f5b6ab21
commit eefb35a899
3 changed files with 9 additions and 6 deletions

View File

@@ -44,6 +44,7 @@
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtGui/QTextDocument>
using namespace Debugger::Internal;
@@ -140,8 +141,8 @@ void DebuggerRunControl::slotAddToOutputWindow(const QString &prefix, const QStr
{
Q_UNUSED(prefix);
foreach (const QString &l, line.split('\n'))
emit addToOutputWindow(this, prefix + l);
//emit addToOutputWindow(this, prefix + line);
emit addToOutputWindow(this, prefix + Qt::escape(l));
//emit addToOutputWindow(this, prefix + Qt::escape(line));
}
void DebuggerRunControl::stop()