From 68af5c4a5778ec72caddccd99d293c8dfde63040 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 5 Feb 2015 17:41:29 +0100 Subject: [PATCH] Apply workaround for broken liblastfm to all platforms but osx and win --- src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp b/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp index acc96fd0d..4a7cdb09d 100644 --- a/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp +++ b/src/libtomahawk/accounts/lastfm/LastFmInfoPlugin.cpp @@ -70,7 +70,7 @@ LastFmInfoPlugin::init() //HACK work around a bug in liblastfm---it doesn't create its config dir, so when it // tries to write the track cache, it fails silently. until we have a fixed version, do this // code taken from Amarok (src/services/lastfm/ScrobblerAdapter.cpp) -#ifdef Q_OS_LINUX +#if !(defined(Q_OS_MAC) && defined(Q_OS_WIN)) QString lpath = QDir::home().filePath( ".local/share/Last.fm" ); QDir ldir = QDir( lpath ); if( !ldir.exists() )