diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 17:05:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-19 17:05:41 +0900 |
commit | 5e2a1ae3feaa4b6f0f8cca5abc8326612f1c4ca0 (patch) | |
tree | dbdc9be2cc316907031b396ed3087b493deda6ee | |
parent | 1e6b97e1b1d29b0a895643eb9ce7ffe08d6fed75 (diff) | |
download | kvirc-5e2a1ae3feaa4b6f0f8cca5abc8326612f1c4ca0.tar.gz kvirc-5e2a1ae3feaa4b6f0f8cca5abc8326612f1c4ca0.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/kvilib/tal/kvi_tal_wizard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kvilib/tal/kvi_tal_wizard.cpp b/src/kvilib/tal/kvi_tal_wizard.cpp index 396aa650..81ccda5f 100644 --- a/src/kvilib/tal/kvi_tal_wizard.cpp +++ b/src/kvilib/tal/kvi_tal_wizard.cpp @@ -398,11 +398,11 @@ void KviTalWizard::setCurrentPage(KviTalWizardPageData * pData) szTitle += "</b>"; TQPalette pal = m_p->pStepsLabel->palette(); #ifdef COMPILE_USE_QT4 - TQColor clrWin = pal.color(TQPalette::Normal,TQPalette::Window); - TQColor clrTxt = pal.color(TQPalette::Normal,TQPalette::WindowText); + TQColor clrWin = pal.color(TQPalette::Active,TQPalette::Window); + TQColor clrTxt = pal.color(TQPalette::Active,TQPalette::WindowText); #else - TQColor clrWin = pal.color(TQPalette::Normal,TQColorGroup::Foreground); - TQColor clrTxt = pal.color(TQPalette::Normal,TQColorGroup::Background); + TQColor clrWin = pal.color(TQPalette::Active,TQColorGroup::Foreground); + TQColor clrTxt = pal.color(TQPalette::Active,TQColorGroup::Background); #endif TQColor clrMid = tqRgb( (clrWin.red() + clrTxt.red()) / 2, |