VCS: Make commands in output window bold again

Most likely broken by 639017783a

While at it, also fix the comment that exactly
states this format.

Change-Id: I8f1ad5a4009ca0cb0d9828bca63e8edf8b6cd5a8
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2019-03-30 09:12:30 +01:00
committed by André Hartmann
parent a89a885b2c
commit 335d277731
2 changed files with 3 additions and 1 deletions

View File

@@ -247,6 +247,8 @@ void OutputWindowPlainTextEdit::appendLinesWithStyle(QString const& s, enum VcsO
void OutputWindowPlainTextEdit::setFormat(enum VcsOutputWindow::MessageStyle style)
{
m_formatter->setBoldFontEnabled(style == VcsOutputWindow::Command);
switch (style) {
case VcsOutputWindow::Warning:
m_format = LogMessageFormat;