From 7e6b543a70d63e1ba28df78384121bba8c9c9faa Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 5 Dec 2011 08:34:55 +0100 Subject: [PATCH] * Use bold font for painting artist items in the 'still so-wrongly-called' AlbumItemDelegate. --- src/libtomahawk/playlist/albumitemdelegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libtomahawk/playlist/albumitemdelegate.cpp b/src/libtomahawk/playlist/albumitemdelegate.cpp index 54b037b0c..62f90a3ee 100644 --- a/src/libtomahawk/playlist/albumitemdelegate.cpp +++ b/src/libtomahawk/playlist/albumitemdelegate.cpp @@ -149,6 +149,7 @@ AlbumItemDelegate::paint( QPainter* painter, const QStyleOptionViewItem& option, if ( oneLiner ) { + painter->setFont( boldFont ); to.setAlignment( Qt::AlignHCenter | Qt::AlignVCenter ); text = painter->fontMetrics().elidedText( name, Qt::ElideRight, textRect.width() - 3 ); painter->drawText( textRect, text, to );