From 6552a392453dbd136f7ea46c4e0ce8c58a991388 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Jul 2023 16:59:30 +0900 Subject: Drop compatibility code for TQPalette Signed-off-by: Michele Calgaro --- quanta/messages/messageoutput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'quanta/messages') 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 ); -- cgit v1.2.1