Disable undo/redo in compile output window.

Since it is read-only. Makes you think why it is enabled by default for
read-only text edits, but anyhow.

Task-number: QTCREATORBUG-3625
This commit is contained in:
con
2011-02-04 14:51:55 +01:00
parent d8630e808b
commit 69bbb52bbe

View File

@@ -63,6 +63,7 @@ CompileOutputWindow::CompileOutputWindow(BuildManager * /*bm*/)
m_outputWindow->setWindowTitle(tr("Compile Output"));
m_outputWindow->setWindowIcon(QIcon(QLatin1String(Qt4ProjectManager::Constants::ICON_WINDOW)));
m_outputWindow->setReadOnly(true);
m_outputWindow->setUndoRedoEnabled(false);
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg->add(m_outputWindow);