diff options
Diffstat (limited to 'tdestyles/klegacy')
-rw-r--r-- | tdestyles/klegacy/klegacystyle.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdestyles/klegacy/klegacystyle.cpp b/tdestyles/klegacy/klegacystyle.cpp index b9fe5f688..ecd03b3c5 100644 --- a/tdestyles/klegacy/klegacystyle.cpp +++ b/tdestyles/klegacy/klegacystyle.cpp @@ -1819,9 +1819,9 @@ void KLegacyStyle::polish(TQApplication *app) { brush.setColor(gobj->backColor(KLegacy::Active)); pal.setBrush(TQPalette::Active, TQColorGroup::Button, brush); - brush = pal.brush(TQPalette::Normal, TQColorGroup::Button); + brush = pal.brush(TQPalette::Active, TQColorGroup::Button); brush.setColor(gobj->backColor(KLegacy::Normal)); - pal.setBrush(TQPalette::Normal, TQColorGroup::Button, brush); + pal.setBrush(TQPalette::Active, TQColorGroup::Button, brush); brush = pal.brush(TQPalette::Disabled, TQColorGroup::Button); brush.setColor(gobj->backColor(KLegacy::Insensitive)); @@ -3275,11 +3275,11 @@ bool KLegacyStyle::eventFilter(TQObject *obj, TQEvent *e) { if (pix && (! pix->isNull())) { TQPalette pal = w->palette(); - TQBrush brush = pal.brush(TQPalette::Normal, + TQBrush brush = pal.brush(TQPalette::Active, TQColorGroup::Background); brush.setPixmap(*pix); - pal.setBrush(TQPalette::Normal, + pal.setBrush(TQPalette::Active, TQColorGroup::Background, brush); w->setPalette(pal); @@ -3303,11 +3303,11 @@ bool KLegacyStyle::eventFilter(TQObject *obj, TQEvent *e) { if (pix && (! pix->isNull())) { TQPalette pal = w->palette(); - TQBrush brush = pal.brush(TQPalette::Normal, + TQBrush brush = pal.brush(TQPalette::Active, TQColorGroup::Background); brush.setPixmap(*pix); - pal.setBrush(TQPalette::Normal, + pal.setBrush(TQPalette::Active, TQColorGroup::Background, brush); w->setPalette(pal); |