summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2019-03-30 09:12:30 +0100
committerAndré Hartmann <aha_1980@gmx.de>2019-03-30 17:40:40 +0000
commit335d277731851c44fe7fbc17b79f5c94e248ddf0 (patch)
tree19cb3537efc68560119766cac9d6ca23bfb82b4b /src/plugins
parenta89a885b2cd2038a0a644d60d5cfed50e56d17ff (diff)
downloadqt-creator-335d277731851c44fe7fbc17b79f5c94e248ddf0.tar.gz
VCS: Make commands in output window bold again
Most likely broken by 639017783a78ca9b While at it, also fix the comment that exactly states this format. Change-Id: I8f1ad5a4009ca0cb0d9828bca63e8edf8b6cd5a8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/vcsbase/vcsoutputwindow.cpp2
-rw-r--r--src/plugins/vcsbase/vcsoutputwindow.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsoutputwindow.cpp b/src/plugins/vcsbase/vcsoutputwindow.cpp
index d011d88120..1207d0279a 100644
--- a/src/plugins/vcsbase/vcsoutputwindow.cpp
+++ b/src/plugins/vcsbase/vcsoutputwindow.cpp
@@ -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;
diff --git a/src/plugins/vcsbase/vcsoutputwindow.h b/src/plugins/vcsbase/vcsoutputwindow.h
index 099eaba4c9..1f78cd515f 100644
--- a/src/plugins/vcsbase/vcsoutputwindow.h
+++ b/src/plugins/vcsbase/vcsoutputwindow.h
@@ -74,7 +74,7 @@ public:
None,
Error, // Red error text
Warning, // Dark yellow warning text
- Command, // A bold command with timetamp "10:00 " + "Executing: vcs -diff"
+ Command, // A bold command with timestamp "10:00 " + "Executing: vcs -diff"
Message, // A blue message text (e.g. "command has finished successfully")
};