diff options
author | Michele Calgaro <[email protected]> | 2023-07-19 17:10:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-19 17:10:41 +0900 |
commit | 933d4190ce83b2beafeb66819ea47d1abfe28b82 (patch) | |
tree | 4e5d88120fa55393466cae5ceab8c0948b62d01b | |
parent | 68aa9b3b84acaf8d174f4d7c14a2f9c765c8813f (diff) | |
download | qalculate-tde-933d4190ce83b2beafeb66819ea47d1abfe28b82.tar.gz qalculate-tde-933d4190ce83b2beafeb66819ea47d1abfe28b82.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/qalculateresultdisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qalculateresultdisplay.cpp b/src/qalculateresultdisplay.cpp index f5515a5..03fed66 100644 --- a/src/qalculateresultdisplay.cpp +++ b/src/qalculateresultdisplay.cpp @@ -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); } |