next steps on Android port

This commit is contained in:
doitux
2012-05-06 20:57:04 +00:00
parent 7cf2203f33
commit a24b07c82c
6 changed files with 14 additions and 22 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
if (tmpStr) tempAppDataPath = tmpStr;
//if appdatapath changes directly update it here not in UpdateConfig()
#ifdef ANDROID
if(tempAppDataPath != "/sdcard/pokerth/data/") {
confAppDataPath->SetAttribute("value", "/sdcard/pokerth/data/");
if(tempAppDataPath != ":/android/android-data/") {
confAppDataPath->SetAttribute("value", ":/android/android-data/");
#else
if(tempAppDataPath != myQtToolsInterface->getDataPathStdString(myArgv0)) {
confAppDataPath->SetAttribute("value", myQtToolsInterface->stringToUtf8(myQtToolsInterface->getDataPathStdString(myArgv0)));