From a2ac9c5a3ace39975060a4f9d6660a467934c300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 10 Nov 2014 05:10:58 +0100 Subject: Fix coloring and processing of console output * Removing \r * Adding missing break statements for coloring --- gui/pages/LogPage.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui') 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: -- cgit v1.2.3