1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-19 23:39:42 +01:00

Apply workaround for broken liblastfm to all platforms but osx and win

This commit is contained in:
Dominik Schmidt 2015-02-05 17:41:29 +01:00
parent 77b0389fad
commit 68af5c4a57

View File

@ -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() )