diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-11-10 05:10:58 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-11-10 05:10:58 +0100 |
commit | a2ac9c5a3ace39975060a4f9d6660a467934c300 (patch) | |
tree | 08bd13bda48bb551dab4d056c0ccf2cce3682cef /gui/pages/LogPage.cpp | |
parent | 551e1011467eeaaadb610ee81e6b015ed3907ea3 (diff) | |
download | MultiMC-a2ac9c5a3ace39975060a4f9d6660a467934c300.tar MultiMC-a2ac9c5a3ace39975060a4f9d6660a467934c300.tar.gz MultiMC-a2ac9c5a3ace39975060a4f9d6660a467934c300.tar.lz MultiMC-a2ac9c5a3ace39975060a4f9d6660a467934c300.tar.xz MultiMC-a2ac9c5a3ace39975060a4f9d6660a467934c300.zip |
Fix coloring and processing of console output
* Removing \r
* Adding missing break statements for coloring
Diffstat (limited to 'gui/pages/LogPage.cpp')
-rw-r--r-- | gui/pages/LogPage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/pages/LogPage.cpp b/gui/pages/LogPage.cpp index 719eba03..16d4f941 100644 --- a/gui/pages/LogPage.cpp +++ b/gui/pages/LogPage.cpp @@ -180,10 +180,12 @@ void LogPage::write(QString data, MessageLevel::Enum mode) { format.setForeground(QColor("red")); format.setBackground(QColor("black")); + break; } case MessageLevel::PrePost: { format.setForeground(QColor("grey")); + break; } case MessageLevel::Info: case MessageLevel::Message: |