mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 12:21:52 +02:00
Actually draw speaker icon in playlist delegate. I'm assuming this was a typo...
This commit is contained in:
@@ -198,7 +198,7 @@ PlaylistItemDelegate::paintShort( QPainter* painter, const QStyleOptionViewItem&
|
|||||||
if ( item->isPlaying() )
|
if ( item->isPlaying() )
|
||||||
{
|
{
|
||||||
r.adjust( 0, 0, 0, 0 );
|
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 );
|
painter->drawPixmap( npr, m_nowPlayingIcon );
|
||||||
r.adjust( 22, 0, 0, 0 );
|
r.adjust( 22, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user