From 982945107e68924fc7c31c35f4bf9ae20cffe3ca Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 22 May 2012 09:08:27 -0400 Subject: [PATCH] Handle linux in checkForResolver --- src/accounts/spotify/SpotifyAccount.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/accounts/spotify/SpotifyAccount.cpp b/src/accounts/spotify/SpotifyAccount.cpp index 725d1f9e9..5805bcb00 100644 --- a/src/accounts/spotify/SpotifyAccount.cpp +++ b/src/accounts/spotify/SpotifyAccount.cpp @@ -186,6 +186,9 @@ SpotifyAccount::checkForResolver() #elif defined(Q_OS_WIN) QDir appDataDir = TomahawkUtils::appDataDir(); 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 return false;