replaced QColorGroup:: with QPalette::
svn path=/trunk/KDE/kdebase/workspace/; revision=535910
This commit is contained in:
parent
a7f42a7a21
commit
aa93b1feb8
2 changed files with 2 additions and 2 deletions
|
@ -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()));
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue