summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/themer
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-19 16:26:53 +0900
committerMichele Calgaro <[email protected]>2023-07-19 16:26:53 +0900
commit9ab75fc13607f986cea86176f7bf2492062b3158 (patch)
tree743098aa24fa89e195085c2d0fa4144f59047185 /tdm/kfrontend/themer
parentea07653980288bb9da98bdd638a57260a2f238a2 (diff)
downloadtdebase-9ab75fc13607f986cea86176f7bf2492062b3158.tar.gz
tdebase-9ab75fc13607f986cea86176f7bf2492062b3158.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdm/kfrontend/themer')
-rw-r--r--tdm/kfrontend/themer/tdmrect.cpp2
1 files changed, 1 insertions, 1 deletions
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 );