From 2c8fac1f8c442e04e8b9d3043d102f6582085620 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sat, 6 Aug 2011 23:59:41 -0400 Subject: [PATCH] Actually draw speaker icon in playlist delegate. I'm assuming this was a typo... --- src/libtomahawk/playlist/playlistitemdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/playlistitemdelegate.cpp b/src/libtomahawk/playlist/playlistitemdelegate.cpp index 07332c53e..19ff35811 100644 --- a/src/libtomahawk/playlist/playlistitemdelegate.cpp +++ b/src/libtomahawk/playlist/playlistitemdelegate.cpp @@ -198,7 +198,7 @@ PlaylistItemDelegate::paintShort( QPainter* painter, const QStyleOptionViewItem& if ( item->isPlaying() ) { r.adjust( 0, 0, 0, 0 ); - QRect npr = r.adjusted( 3, r.height() / 2 - m_nowPlayingIcon.height() / 2, 18 - r.width(), -r.height() + m_nowPlayingIcon.height() / 2 ); + QRect npr = r.adjusted( 3, r.height() / 2 - m_nowPlayingIcon.height() / 2, 18 - r.width(), -r.height() / 2 + m_nowPlayingIcon.height() / 2 ); painter->drawPixmap( npr, m_nowPlayingIcon ); r.adjust( 22, 0, 0, 0 ); }