mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Handle linux in checkForResolver
This commit is contained in:
@@ -186,6 +186,9 @@ SpotifyAccount::checkForResolver()
|
|||||||
#elif defined(Q_OS_WIN)
|
#elif defined(Q_OS_WIN)
|
||||||
QDir appDataDir = TomahawkUtils::appDataDir();
|
QDir appDataDir = TomahawkUtils::appDataDir();
|
||||||
return appDataDir.exists( QString( "atticaresolvers/%1/spotify_tomahawkresolver.exe" ).arg( s_resolverId ) );
|
return appDataDir.exists( QString( "atticaresolvers/%1/spotify_tomahawkresolver.exe" ).arg( s_resolverId ) );
|
||||||
|
#elif defined(Q_OS_LINUX)
|
||||||
|
QDir appDataDir = TomahawkUtils::appDataDir();
|
||||||
|
return appDataDir.exists( QString( "atticaresolvers/%1/spotify_tomahawkresolver" ).arg( s_resolverId ) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user