diff --git a/src/gui/qt/sound/sdlplayer.cpp b/src/gui/qt/sound/sdlplayer.cpp index b758c4f0..2b531e20 100644 --- a/src/gui/qt/sound/sdlplayer.cpp +++ b/src/gui/qt/sound/sdlplayer.cpp @@ -32,7 +32,9 @@ SDLPlayer::SDLPlayer(ConfigFile *c) : soundData(NULL), currentChannel(0) , audioEnabled(0), myConfig(c), sound(NULL) #endif { +#ifndef ANDROID myAppDataPath = QString::fromUtf8(myConfig->readConfigString("AppDataDir").c_str()); +#endif }