┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbarspaceinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statusbarspaceinfo.cpp')
-rw-r--r--src/statusbarspaceinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp
index 0b2c4d133..b7a1756c3 100644
--- a/src/statusbarspaceinfo.cpp
+++ b/src/statusbarspaceinfo.cpp
@@ -66,7 +66,7 @@ void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */)
const int widthDec = 3; // visual decrement for the available width
- const QColor c1 = colorGroup().background();
+ const QColor c1 = palette().brush(QPalette::Background).color();
const QColor c2 = KGlobalSettings::buttonTextColor();
const QColor frameColor((c1.red() + c2.red()) / 2,
(c1.green() + c2.green()) / 2,