diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 16:16:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 16:16:06 +0900 |
commit | f6627610258aca3aa0208c16c4bd8b30105393cb (patch) | |
tree | d26912f6e1eeb4f5918dc3aaa23bf432140f7cb7 /tdeui/kactivelabel.cpp | |
parent | 36c049e135b0cec7cf97b41888860186813df5f0 (diff) | |
download | tdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.tar.gz tdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/kactivelabel.cpp')
-rw-r--r-- | tdeui/kactivelabel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kactivelabel.cpp b/tdeui/kactivelabel.cpp index 0e5abc5ad..7dad563b2 100644 --- a/tdeui/kactivelabel.cpp +++ b/tdeui/kactivelabel.cpp @@ -59,8 +59,8 @@ void KActiveLabel::init() void KActiveLabel::paletteChanged() { TQPalette p = kapp ? kapp->palette() : palette(); - p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background)); - p.setColor(TQColorGroup::Text, p.color(TQPalette::Normal, TQColorGroup::Foreground)); + p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background)); + p.setColor(TQColorGroup::Text, p.color(TQPalette::Active, TQColorGroup::Foreground)); setPalette(p); } |