From 45d82b30417ce8a747eab2baab7a5618a069bbfa Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Mon, 4 Dec 2006 06:00:07 +0000 Subject: the widget is double-buffered by default so don't triple-buffer plus removing another depdecation warning svn path=/trunk/playground/utils/dolphin/; revision=610303 --- src/statusbarspaceinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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, -- cgit v1.3