summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-19 16:58:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-19 16:58:15 +0900
commit5863ef46cf5e92d3c9ba7435ec730ba586a898fb (patch)
treefe7583af5b2d408ddcf7feee72f3c3614a4f7e18 /korganizer
parent30555507108fe0b2b3f9ded9de37f38d4a1d9c50 (diff)
downloadtdepim-5863ef46cf5e92d3c9ba7435ec730ba586a898fb.tar.gz
tdepim-5863ef46cf5e92d3c9ba7435ec730ba586a898fb.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/komonthview.cpp4
1 files changed, 2 insertions, 2 deletions
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 {