Drop compatibility code for TQPalette

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/20/head
Michele Calgaro 1 year ago
parent 1342635d43
commit 6552a39245
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -38,8 +38,8 @@ MessageOutput::MessageOutput(TQWidget *parent, const char *name )
m_maxItems = 2000; m_maxItems = 2000;
TQPalette pal = palette(); TQPalette pal = palette();
pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Normal, TQColorGroup::Text)); pal.setColor(TQColorGroup::HighlightedText, pal.color(TQPalette::Active, TQColorGroup::Text));
pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Normal, TQColorGroup::Mid)); pal.setColor(TQColorGroup::Highlight, pal.color(TQPalette::Active, TQColorGroup::Mid));
setPalette(pal); setPalette(pal);
setFocusPolicy( TQ_NoFocus ); setFocusPolicy( TQ_NoFocus );

Loading…
Cancel
Save