mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +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;
|
QPixmap cover;
|
||||||
cover.loadFromData( m_currentTrack->album()->cover() );
|
cover.loadFromData( m_currentTrack->album()->cover() );
|
||||||
playInfo["image"] = QVariant( cover );
|
playInfo["image"] = QVariant( cover.toImage() );
|
||||||
}
|
}
|
||||||
|
|
||||||
Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo(
|
Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo(
|
||||||
|
Reference in New Issue
Block a user