From 8fb65486d6b3b31056e269b801754baf849fcb65 Mon Sep 17 00:00:00 2001 From: doitux Date: Thu, 6 Sep 2012 21:55:40 +0200 Subject: [PATCH] fix android build --- src/gui/qt/sound/sdlplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 }