Commit 9c03475c authored by dt's avatar dt
Browse files

Make new application output always palette text color


Reviewed-by: default avatarmae <qt-info@nokia.com>
parent 377dbaa8
......@@ -415,6 +415,10 @@ void OutputWindow::appendOutput(const QString &out)
s.chop(1);
}
setMaximumBlockCount(MaxBlockCount);
QTextCharFormat format;
format.setForeground(palette().text().color());
setCurrentCharFormat(format);
appendPlainText(out);
enableUndoRedo();
}
......@@ -447,6 +451,9 @@ void OutputWindow::appendOutputInline(const QString &out)
m_enforceNewline = true;
s.chop(1);
}
QTextCharFormat format;
format.setForeground(palette().text().color());
setCurrentCharFormat(format);
appendPlainText(s);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment