1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

* Set default cover when no cover available on track change.

This commit is contained in:
Christian Muehlhaeuser
2014-08-18 06:26:49 +02:00
parent ac90129e22
commit 5220f164e6

View File

@@ -168,7 +168,11 @@ void
ContextView::onCoverUpdated()
{
if ( m_query->track()->cover( QSize( 0, 0 ) ).isNull() )
{
m_pixmap = QPixmap();
emit pixmapChanged( m_pixmap );
return;
}
m_pixmap = m_query->track()->cover( QSize( 0, 0 ) );
emit pixmapChanged( m_pixmap );