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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user