mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Apply workaround for broken liblastfm to all platforms but osx and win
This commit is contained in:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user