From 4ddb9e62ad462ffd6253da795ea2f6296eea6d1a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 19 Jul 2023 17:07:52 +0900 Subject: Drop compatibility code for TQPalette Signed-off-by: Michele Calgaro --- amarok/src/collectiondb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amarok/src/collectiondb.cpp b/amarok/src/collectiondb.cpp index 024779e4..7e7081aa 100644 --- a/amarok/src/collectiondb.cpp +++ b/amarok/src/collectiondb.cpp @@ -1816,8 +1816,8 @@ CollectionDB::createDragPixmap( const KURL::List &urls, TQString textOverRide ) TQPainter p; p.begin( &pmtext ); p.fillRect( 0, 0, pixmapW, fontH, TQBrush( TQt::black ) ); // border - p.fillRect( 1, 1, pixmapW-margin, fontH-margin, palette.brush( TQPalette::Normal, TQColorGroup::Background ) ); - p.setBrush( palette.color( TQPalette::Normal, TQColorGroup::Text ) ); + p.fillRect( 1, 1, pixmapW-margin, fontH-margin, palette.brush( TQPalette::Active, TQColorGroup::Background ) ); + p.setBrush( palette.color( TQPalette::Active, TQColorGroup::Text ) ); p.setFont( font ); p.drawText( margin, fm.ascent() + 1, text ); p.end(); -- cgit v1.2.1