From 9ab75fc13607f986cea86176f7bf2492062b3158 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Jul 2023 16:26:53 +0900 Subject: Drop compatibility code for TQPalette Signed-off-by: Michele Calgaro --- tdm/kfrontend/themer/tdmrect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdm/kfrontend/themer') 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 ); -- cgit v1.2.1