summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeslie Zhai <[email protected]>2018-01-31 10:17:01 +0800
committerLeslie Zhai <[email protected]>2018-01-31 10:17:01 +0800
commit205e57e9d21f4da8229e407399395de3aeceb0a2 (patch)
tree6de8c52eedc9309b046b9dc3b948b313b88d110e
parent579486a14d8e15f5d0cec2cfbb29d89ff3fdfb33 (diff)
Add Foreground color for DiskInfoView's infokey and infovalue.
-rw-r--r--src/k3bdiskinfoview.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/k3bdiskinfoview.cpp b/src/k3bdiskinfoview.cpp
index 59b93df..7121257 100644
--- a/src/k3bdiskinfoview.cpp
+++ b/src/k3bdiskinfoview.cpp
@@ -99,11 +99,14 @@ void K3b::DiskInfoView::reloadMedium()
.arg(theme->palette().color(QPalette::Background).name())
.arg(theme->palette().color(QPalette::Foreground).name());
}
- s += ".infovalue { font-weight:bold; padding-left:10px; } "
+ s += QString(".infovalue { font-weight:bold; padding-left:10px; color:%1; } "
+ ".infokey { color:%2; } "
".trackheader { text-align:left; } "
".session { font-style:italic; } "
".cdtext { font-weight:bold; font-style:italic; } "
- "td { vertical-align:top; } ";
+ "td { vertical-align:top; } ")
+ .arg(theme->palette().color(QPalette::Foreground).name())
+ .arg(theme->palette().color(QPalette::Foreground).name());
s += "</style>"
"</head>"
"<body>";