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: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=16ae9b03b8456d14bc64ce30c8c9a0093eebab9d;ds=sidebyside Logging: Adjust UI colors to suit both dark and bright themes --- 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);