From dedd14c0c09bd72cfecf29e396aa88c756495a9f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 25 Aug 2014 16:58:58 +0200 Subject: [PATCH] * Align source headers above tracks in PlaylistItemDelegate. --- src/libtomahawk/playlist/PlaylistItemDelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp index 6f2356c74..809d21b5a 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp @@ -529,8 +529,8 @@ PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& painter->setRenderHint( QPainter::TextAntialiasing ); painter->setRenderHint( QPainter::SmoothPixmapTransform ); - QRect avatarRect = rect.adjusted( 12, rect.height() - 48, 0, -16 ); - QRect textRect = avatarRect.adjusted( avatarRect.height() + 32, 0, -32, 0 ); + QRect avatarRect = rect.adjusted( 22, rect.height() - 48, 0, -16 ); + QRect textRect = avatarRect.adjusted( avatarRect.height() + 24, 0, -32, 0 ); avatarRect.setWidth( avatarRect.height() ); QPixmap avatar = item->source()->avatar( TomahawkUtils::RoundedCorners, avatarRect.size(), true ) ;