From: Soeren Apel Date: Tue, 16 Oct 2018 19:15:58 +0000 (+0200) Subject: Logging: Adjust UI colors to suit both dark and bright themes X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=16ae9b03b8456d14bc64ce30c8c9a0093eebab9d;p=pulseview.git Logging: Adjust UI colors to suit both dark and bright themes --- diff --git a/pv/logging.cpp b/pv/logging.cpp index 29d023c0..b747ab54 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);