diff options
author | Michele Calgaro <[email protected]> | 2023-07-19 17:07:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-19 17:07:52 +0900 |
commit | 4ddb9e62ad462ffd6253da795ea2f6296eea6d1a (patch) | |
tree | 021a94c92f0a9b614b5e2a5e285143f042820478 | |
parent | 14f8c965490c1842a4973a11ebb7bf485557b320 (diff) | |
download | amarok-4ddb9e62ad462ffd6253da795ea2f6296eea6d1a.tar.gz amarok-4ddb9e62ad462ffd6253da795ea2f6296eea6d1a.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | amarok/src/collectiondb.cpp | 4 |
1 files 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(); |