diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 16:59:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 16:59:30 +0900 |
commit | 6552a392453dbd136f7ea46c4e0ce8c58a991388 (patch) | |
tree | 41bec554321c0af72237bef30fd6aa90305a724e /quanta | |
parent | 1342635d435a56374066e1ea28735d05f6e327f4 (diff) | |
download | tdewebdev-6552a392453dbd136f7ea46c4e0ce8c58a991388.tar.gz tdewebdev-6552a392453dbd136f7ea46c4e0ce8c58a991388.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta')
-rw-r--r-- | quanta/messages/messageoutput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/messages/messageoutput.cpp b/quanta/messages/messageoutput.cpp index 06625c74..10e4fb5b 100644 --- a/quanta/messages/messageoutput.cpp +++ b/quanta/messages/messageoutput.cpp @@ -38,8 +38,8 @@ MessageOutput::MessageOutput(TQWidget *parent, const char *name ) m_maxItems = 2000; TQPalette pal = palette(); - pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Normal, TQColorGroup::Text)); - pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Normal, TQColorGroup::Mid)); + pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Active, TQColorGroup::Text)); + pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Active, TQColorGroup::Mid)); setPalette(pal); setFocusPolicy( TQ_NoFocus ); |