1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Handle linux in checkForResolver

This commit is contained in:
Leo Franchi
2012-05-22 09:08:27 -04:00
parent b66e191078
commit 982945107e

View File

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