From 16ae9b03b8456d14bc64ce30c8c9a0093eebab9d Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Tue, 16 Oct 2018 21:15:58 +0200 Subject: [PATCH] Logging: Adjust UI colors to suit both dark and bright themes --- pv/logging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pv/logging.cpp b/pv/logging.cpp index 29d023c..b747ab5 100644 --- a/pv/logging.cpp +++ b/pv/logging.cpp @@ -126,10 +126,10 @@ void Logging::log(const QString &text, int source) switch (source) { case LogSource_pv: - s = QString("pv: ") + text; // black is default color + s = QString("pv: %1").arg(text); break; case LogSource_sr: - s = QString("sr: %1").arg(text); + s = QString("sr: %1").arg(text); break; case LogSource_srd: s = QString("srd: %1").arg(text); -- 2.30.2