mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Unbreak headless more.
This commit is contained in:
@@ -361,9 +361,11 @@ AudioEngine::onNowPlayingInfoReady()
|
|||||||
|
|
||||||
if ( !m_currentTrack->album().isNull() )
|
if ( !m_currentTrack->album().isNull() )
|
||||||
{
|
{
|
||||||
|
#ifndef ENABLE_HEADLESS
|
||||||
QImage cover;
|
QImage cover;
|
||||||
cover = m_currentTrack->album()->cover( QSize( 0, 0 ) ).toImage();
|
cover = m_currentTrack->album()->cover( QSize( 0, 0 ) ).toImage();
|
||||||
playInfo["image"] = QVariant( cover );
|
playInfo["image"] = QVariant( cover );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo(
|
Tomahawk::InfoSystem::InfoSystem::instance()->pushInfo(
|
||||||
|
Reference in New Issue
Block a user