diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp index e9d0cca0d..b09acb730 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.cpp +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.cpp @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2010-2011, Jeff Mitchell * Copyright 2013-2014, Teo Mrnjavac * @@ -530,7 +530,7 @@ PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& { painter->save(); - QRect avatarRect = rect.adjusted( 32, rect.height() - 48, 0, -16 ); + QRect avatarRect = rect.adjusted( 12, rect.height() - 48, 0, -16 ); QRect textRect = avatarRect.adjusted( avatarRect.height() + 32, 0, -32, 0 ); avatarRect.setWidth( avatarRect.height() ); @@ -553,7 +553,7 @@ PlaylistItemDelegate::drawSource( QPainter* painter, const QStyleOptionViewItem& painter->setOpacity( 0.15 ); painter->setBrush( QColor( "#000000" ) ); - painter->drawRect( rect.adjusted( 32, rect.height() - 8, -32, -8 ) ); + painter->drawRect( rect.adjusted( 0, rect.height() - 8, -32, -8 ) ); painter->restore(); diff --git a/src/libtomahawk/playlist/PlaylistItemDelegate.h b/src/libtomahawk/playlist/PlaylistItemDelegate.h index 72d7d6d2f..8460c10df 100644 --- a/src/libtomahawk/playlist/PlaylistItemDelegate.h +++ b/src/libtomahawk/playlist/PlaylistItemDelegate.h @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2014, Christian Muehlhaeuser * Copyright 2013, Teo Mrnjavac * * Tomahawk is free software: you can redistribute it and/or modify