Drop compatibility code for TQPalette

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 1 year ago
parent 68aa9b3b84
commit 933d4190ce
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -401,8 +401,8 @@ void QalculateResultDisplay::editMatrix() {
void QalculateResultDisplay::paletteChanged() {
TQPalette p = kapp ? kapp->palette() : palette();
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background));
p.setColor(TQColorGroup::Text, p.color(TQPalette::Normal, TQColorGroup::Foreground));
p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Active, TQColorGroup::Background));
p.setColor(TQColorGroup::Text, p.color(TQPalette::Active, TQColorGroup::Foreground));
setPalette(p);
}

Loading…
Cancel
Save