mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Nicer code in ContextView.
This commit is contained in:
parent
b09089773c
commit
5e89e127b7
@ -152,11 +152,12 @@ ContextView::onCoverUpdated()
|
||||
if ( !m_query || m_query->track()->cover( QSize( 0, 0 ) ).isNull() )
|
||||
{
|
||||
m_pixmap = QPixmap();
|
||||
emit pixmapChanged( m_pixmap );
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_pixmap = m_query->track()->cover( QSize( 0, 0 ) );
|
||||
}
|
||||
|
||||
m_pixmap = m_query->track()->cover( QSize( 0, 0 ) );
|
||||
emit pixmapChanged( m_pixmap );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user