projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d49811
)
Logging: Adjust UI colors to suit both dark and bright themes
author
Soeren Apel
<soeren@apelpie.net>
Tue, 16 Oct 2018 19:15:58 +0000
(21:15 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 16 Oct 2018 21:53:10 +0000
(23:53 +0200)
pv/logging.cpp
patch
|
blob
|
history
diff --git
a/pv/logging.cpp
b/pv/logging.cpp
index 29d023c04ad577957aa3a1dbacc52fa0a47acb01..b747ab5452c5f4ee7b2aef633a65fc1e02986f47 100644
(file)
--- 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("
<font color=\"darkMagenta\">pv: %1</font>").arg(text);
break;
case LogSource_sr:
- s = QString("<font color=\"
blue
\">sr: %1</font>").arg(text);
+ s = QString("<font color=\"
darkGreen
\">sr: %1</font>").arg(text);
break;
case LogSource_srd:
s = QString("<font color=\"olive\">srd: %1</font>").arg(text);