X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7fbae445277374fb2bacfcd7c04e8d7fbb2c3f05..ced7cbd022b68c8dedd61b5d34d27b9c1296df15:/src/statusbarspaceinfo.cpp 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,