forked from qt-creator/qt-creator
Fixes: & in output.
RevBy: ossi Details: By switching to QPlainTextEdit from QTextEdit, which is faster anyway.
This commit is contained in:
@@ -42,7 +42,7 @@ using namespace ProjectExplorer::Internal;
|
||||
|
||||
CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
|
||||
{
|
||||
m_textEdit = new QTextEdit();
|
||||
m_textEdit = new QPlainTextEdit();
|
||||
m_textEdit->setWindowTitle(tr("Compile Output"));
|
||||
m_textEdit->setWindowIcon(QIcon(":/qt4projectmanager/images/window.png"));
|
||||
m_textEdit->setReadOnly(true);
|
||||
@@ -74,7 +74,7 @@ QWidget *CompileOutputWindow::outputWidget(QWidget *)
|
||||
|
||||
void CompileOutputWindow::appendText(const QString &text)
|
||||
{
|
||||
m_textEdit->append(text);
|
||||
m_textEdit->appendHtml(text);
|
||||
}
|
||||
|
||||
void CompileOutputWindow::clearContents()
|
||||
|
||||
Reference in New Issue
Block a user