extra callback for showing internet game login dialog

This commit is contained in:
doitux
2009-11-08 21:18:25 +00:00
parent 5424aed21e
commit 9e7792fd8e
8 changed files with 38 additions and 18 deletions
+6 -2
View File
@@ -296,9 +296,13 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
if ( confAppDataPath ) {
const char *tmpStr = confAppDataPath->Attribute("value");
if (tmpStr) tempAppDataPath = tmpStr;
//if appdatapath changes directly update it here not in UpdateConfig()
if(tempAppDataPath != myQtToolsInterface->getDataPathStdString(myArgv0)) {
confAppDataPath->SetAttribute("value", myQtToolsInterface->stringToUtf8(myQtToolsInterface->getDataPathStdString(myArgv0)));
doc.SaveFile( configFileName );
}
}
if (tempRevision < configRev || tempAppDataPath != myQtToolsInterface->getDataPathStdString(myArgv0) ) { /*löschen()*/
if (tempRevision < configRev) {
myConfigState = OLD;
updateConfig(myConfigState) ;
}