From aa93b1feb8ba6d25371cc66597c28baeb60aa0ba Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 30 Apr 2006 18:04:35 +0000 Subject: [PATCH] replaced QColorGroup:: with QPalette:: svn path=/trunk/KDE/kdebase/workspace/; revision=535910 --- clients/kwmtheme/kwmthemeclient.cpp | 2 +- clients/modernsystem/modernsys.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/kwmtheme/kwmthemeclient.cpp b/clients/kwmtheme/kwmthemeclient.cpp index 90787827cd..d309dcf6a8 100644 --- a/clients/kwmtheme/kwmthemeclient.cpp +++ b/clients/kwmtheme/kwmthemeclient.cpp @@ -385,7 +385,7 @@ void KWMThemeClient::drawTitle(QPainter &dest) } else{ p.fillRect(r, options()->palette(KDecorationOptions::ColorTitleBar, isActive()).active(). - brush(QColorGroup::Button)); + brush(QPalette::Button)); } p.setFont(options()->font(isActive())); p.setPen(options()->color(KDecorationOptions::ColorFont, isActive())); diff --git a/clients/modernsystem/modernsys.cpp b/clients/modernsystem/modernsys.cpp index a2e262ea38..4ac83b0a4f 100644 --- a/clients/modernsystem/modernsys.cpp +++ b/clients/modernsystem/modernsys.cpp @@ -529,7 +529,7 @@ void ModernSys::recalcTitleBuffer() p.drawTiledPixmap(0, 0, width(), title_height+2, *aUpperGradient); else p.fillRect(0, 0, width(), title_height+2, - pt.brush(QColorGroup::Button)); + pt.brush(QPalette::Button)); QRect t = titleRect(); // titlebar->geometry(); t.setTop( 2 );