summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-19 16:26:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-19 16:26:53 +0900
commit9ab75fc13607f986cea86176f7bf2492062b3158 (patch)
tree743098aa24fa89e195085c2d0fa4144f59047185
parentea07653980288bb9da98bdd638a57260a2f238a2 (diff)
downloadtdebase-9ab75fc13607f986cea86176f7bf2492062b3158.tar.gz
tdebase-9ab75fc13607f986cea86176f7bf2492062b3158.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kicker/kicker/ui/k_new_mnu.cpp2
-rw-r--r--tdm/kfrontend/themer/tdmrect.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kicker/kicker/ui/k_new_mnu.cpp b/kicker/kicker/ui/k_new_mnu.cpp
index 86df79e24..adaef23e2 100644
--- a/kicker/kicker/ui/k_new_mnu.cpp
+++ b/kicker/kicker/ui/k_new_mnu.cpp
@@ -228,7 +228,7 @@ KMenu::KMenu()
setupUi();
m_userInfo->setBackgroundMode( PaletteBase );
- TQColor userInfoColor = TQApplication::palette().color( TQPalette::Normal, TQColorGroup::Mid );
+ TQColor userInfoColor = TQApplication::palette().color( TQPalette::Active, TQColorGroup::Mid );
if ( tqGray( userInfoColor.rgb() ) > 120 )
userInfoColor = userInfoColor.dark( 200 );
else
diff --git a/tdm/kfrontend/themer/tdmrect.cpp b/tdm/kfrontend/themer/tdmrect.cpp
index a92b0f679..bb4023cd4 100644
--- a/tdm/kfrontend/themer/tdmrect.cpp
+++ b/tdm/kfrontend/themer/tdmrect.cpp
@@ -182,7 +182,7 @@ KdmRect::setWidget( TQWidget *widget )
if ( rect.normal.color.isValid() && widget )
{
TQPalette p = widget->palette();
- p.setColor( TQPalette::Normal, TQColorGroup::Text, rect.normal.color );
+ p.setColor( TQPalette::Active, TQColorGroup::Text, rect.normal.color );
widget->setPalette(p);
}
KdmItem::setWidget( widget );