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/ktextedit.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/ktextedit.cpp')
-rw-r--r-- | tdeui/ktextedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktextedit.cpp b/tdeui/ktextedit.cpp index 3ebb1375f..e0208be82 100644 --- a/tdeui/ktextedit.cpp +++ b/tdeui/ktextedit.cpp @@ -332,7 +332,7 @@ void KTextEdit::setReadOnly(bool readOnly) if ( d->customPalette ) { TQPalette p = palette(); - TQColor color = p.color(TQPalette::Normal, TQColorGroup::Base); + TQColor color = p.color(TQPalette::Active, TQColorGroup::Base); p.setColor(TQColorGroup::Base, color); p.setColor(TQColorGroup::Background, color); setPalette( p ); |