diff options
author | Michele Calgaro <[email protected]> | 2023-07-19 16:16:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-19 16:16:06 +0900 |
commit | f6627610258aca3aa0208c16c4bd8b30105393cb (patch) | |
tree | d26912f6e1eeb4f5918dc3aaa23bf432140f7cb7 /tdeui/kurllabel.cpp | |
parent | 36c049e135b0cec7cf97b41888860186813df5f0 (diff) | |
download | tdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.tar.gz tdelibs-f6627610258aca3aa0208c16c4bd8b30105393cb.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kurllabel.cpp')
-rw-r--r-- | tdeui/kurllabel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp index 539984466..8034423b4 100644 --- a/tdeui/kurllabel.cpp +++ b/tdeui/kurllabel.cpp @@ -355,7 +355,7 @@ bool KURLLabel::event (TQEvent *e) { // use parentWidget() unless you are a toplevel widget, then try qAapp TQPalette p = parentWidget() ? parentWidget()->palette() : tqApp->palette(); - p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background)); + p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background)); p.setColor(TQColorGroup::Foreground, palette().active().foreground()); setPalette(p); d->LinkColor = TDEGlobalSettings::linkColor(); |