Skip to content
Snippets Groups Projects
Commit 48d54004 authored by dt's avatar dt
Browse files

Fixes: & in output.

RevBy:    ossi
Details:  By switching to QPlainTextEdit from QTextEdit, which is faster
anyway.
parent 3a715bf0
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ using namespace ProjectExplorer::Internal; ...@@ -42,7 +42,7 @@ using namespace ProjectExplorer::Internal;
CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/) CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
{ {
m_textEdit = new QTextEdit(); m_textEdit = new QPlainTextEdit();
m_textEdit->setWindowTitle(tr("Compile Output")); m_textEdit->setWindowTitle(tr("Compile Output"));
m_textEdit->setWindowIcon(QIcon(":/qt4projectmanager/images/window.png")); m_textEdit->setWindowIcon(QIcon(":/qt4projectmanager/images/window.png"));
m_textEdit->setReadOnly(true); m_textEdit->setReadOnly(true);
...@@ -74,7 +74,7 @@ QWidget *CompileOutputWindow::outputWidget(QWidget *) ...@@ -74,7 +74,7 @@ QWidget *CompileOutputWindow::outputWidget(QWidget *)
void CompileOutputWindow::appendText(const QString &text) void CompileOutputWindow::appendText(const QString &text)
{ {
m_textEdit->append(text); m_textEdit->appendHtml(text);
} }
void CompileOutputWindow::clearContents() void CompileOutputWindow::clearContents()
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <coreplugin/ioutputpane.h> #include <coreplugin/ioutputpane.h>
#include <QtGui/QTextEdit> #include <QtGui/QPlainTextEdit>
namespace ProjectExplorer { namespace ProjectExplorer {
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
void setFocus(); void setFocus();
private: private:
QTextEdit *m_textEdit; QPlainTextEdit *m_textEdit;
}; };
} // namespace Internal } // namespace Internal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment