summaryrefslogtreecommitdiffstats
path: root/tdeui/klineedit.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-19 16:16:06 +0900
committerMichele Calgaro <[email protected]>2023-07-19 16:16:06 +0900
commitf6627610258aca3aa0208c16c4bd8b30105393cb (patch)
treed26912f6e1eeb4f5918dc3aaa23bf432140f7cb7 /tdeui/klineedit.cpp
parent36c049e135b0cec7cf97b41888860186813df5f0 (diff)
downloadtdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.tar.gz
tdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/klineedit.cpp')
-rw-r--r--tdeui/klineedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp
index 92afc91fd..07fbc58b9 100644
--- a/tdeui/klineedit.cpp
+++ b/tdeui/klineedit.cpp
@@ -140,9 +140,9 @@ void KLineEdit::init()
TQPalette p = palette();
if ( !d->previousHighlightedTextColor.isValid() )
- d->previousHighlightedTextColor=p.color(TQPalette::Normal,TQColorGroup::HighlightedText);
+ d->previousHighlightedTextColor=p.color(TQPalette::Active,TQColorGroup::HighlightedText);
if ( !d->previousHighlightColor.isValid() )
- d->previousHighlightColor=p.color(TQPalette::Normal,TQColorGroup::Highlight);
+ d->previousHighlightColor=p.color(TQPalette::Active,TQColorGroup::Highlight);
d->drawClickMsg = false;
}