1
0
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:
Christian Muehlhaeuser
2012-02-23 04:08:14 +01:00
parent dbcbffb6c4
commit 55e7d6383b

View File

@@ -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(