mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 21:25:52 +02:00
* Headless fix.
This commit is contained in:
@@ -76,7 +76,9 @@ Album::Album( unsigned int id, const QString& name, const Tomahawk::artist_ptr&
|
|||||||
, m_id( id )
|
, m_id( id )
|
||||||
, m_name( name )
|
, m_name( name )
|
||||||
, m_artist( artist )
|
, m_artist( artist )
|
||||||
|
#ifndef ENABLE_HEADLESS
|
||||||
, m_cover( 0 )
|
, m_cover( 0 )
|
||||||
|
#endif
|
||||||
, m_infoLoaded( false )
|
, m_infoLoaded( false )
|
||||||
{
|
{
|
||||||
connect( Tomahawk::InfoSystem::InfoSystem::instance(),
|
connect( Tomahawk::InfoSystem::InfoSystem::instance(),
|
||||||
|
@@ -75,7 +75,9 @@ Artist::Artist( unsigned int id, const QString& name )
|
|||||||
: QObject()
|
: QObject()
|
||||||
, m_id( id )
|
, m_id( id )
|
||||||
, m_name( name )
|
, m_name( name )
|
||||||
|
#ifndef ENABLE_HEADLESS
|
||||||
, m_cover( 0 )
|
, m_cover( 0 )
|
||||||
|
#endif
|
||||||
, m_infoLoaded( false )
|
, m_infoLoaded( false )
|
||||||
{
|
{
|
||||||
m_sortname = DatabaseImpl::sortname( name, true );
|
m_sortname = DatabaseImpl::sortname( name, true );
|
||||||
|
Reference in New Issue
Block a user