summaryrefslogtreecommitdiffstats
path: root/quanta/messages
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-19 16:59:30 +0900
committerMichele Calgaro <[email protected]>2023-07-19 16:59:30 +0900
commit6552a392453dbd136f7ea46c4e0ce8c58a991388 (patch)
tree41bec554321c0af72237bef30fd6aa90305a724e /quanta/messages
parent1342635d435a56374066e1ea28735d05f6e327f4 (diff)
downloadtdewebdev-6552a392453dbd136f7ea46c4e0ce8c58a991388.tar.gz
tdewebdev-6552a392453dbd136f7ea46c4e0ce8c58a991388.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'quanta/messages')
-rw-r--r--quanta/messages/messageoutput.cpp4
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 );