mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-18 23:09:42 +01:00
Fix crash from album cover refactoring. QPixmap was being put into a
QVariant and QImage being taken out.
This commit is contained in:
parent
b768e84afe
commit
63e59e7e27
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user