mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 11:50:37 +02:00
Fix crash from album cover refactoring. QPixmap was being put into a
QVariant and QImage being taken out.
This commit is contained in:
@@ -354,7 +354,7 @@ AudioEngine::onNowPlayingInfoReady()
|
||||
{
|
||||
QPixmap cover;
|
||||
cover.loadFromData( m_currentTrack->album()->cover() );
|
||||
playInfo["image"] = QVariant( cover );
|
||||
playInfo["image"] = QVariant( cover.toImage() );
|
||||
}
|
||||
|
||||
Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo(
|
||||
|
Reference in New Issue
Block a user