From 5863ef46cf5e92d3c9ba7435ec730ba586a898fb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Jul 2023 16:58:15 +0900 Subject: Drop compatibility code for TQPalette Signed-off-by: Michele Calgaro --- korganizer/komonthview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'korganizer/komonthview.cpp') diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index ab61181ca..440bc10d2 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -259,7 +259,7 @@ void MonthViewItem::paint( TQPainter *p ) } if ( !bgColor.isValid() ) { - bgColor = palette().color( TQPalette::Normal, + bgColor = palette().color( TQPalette::Active, sel ? TQColorGroup::Highlight : TQColorGroup::Background ); } @@ -286,7 +286,7 @@ void MonthViewItem::paint( TQPainter *p ) } if ( !frameColor.isValid() ) { - frameColor = palette().color( TQPalette::Normal, + frameColor = palette().color( TQPalette::Active, sel ? TQColorGroup::Highlight : TQColorGroup::Foreground ); } else { -- cgit v1.2.1