mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-13 07:24:15 +02:00
* Don't compile lastfm parts if liblastfm wasn't found.
This commit is contained in:
committed by
Dominik Schmidt
parent
0278f82c2a
commit
420720ae52
@@ -640,8 +640,10 @@ TomahawkApp::spotifyApiCheckFinished()
|
||||
void
|
||||
TomahawkApp::accountManagerReady()
|
||||
{
|
||||
#ifdef LIBLASTFM_FOUND
|
||||
Tomahawk::Accounts::LastFmAccountFactory* lastfmFactory = new Tomahawk::Accounts::LastFmAccountFactory();
|
||||
m_accountManager.data()->addAccountFactory( lastfmFactory );
|
||||
#endif
|
||||
|
||||
Tomahawk::Accounts::SpotifyAccountFactory* spotifyFactory = new Tomahawk::Accounts::SpotifyAccountFactory;
|
||||
m_accountManager.data()->addAccountFactory( spotifyFactory );
|
||||
|
Reference in New Issue
Block a user