|
|
@ -329,6 +329,7 @@ bool Launcher::MainDialog::setupGameSettings()
|
|
|
|
stream.setCodec(QTextCodec::codecForName("UTF-8"));
|
|
|
|
stream.setCodec(QTextCodec::codecForName("UTF-8"));
|
|
|
|
|
|
|
|
|
|
|
|
mGameSettings.readUserFile(stream);
|
|
|
|
mGameSettings.readUserFile(stream);
|
|
|
|
|
|
|
|
file.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Now the rest - priority: user > local > global
|
|
|
|
// Now the rest - priority: user > local > global
|
|
|
@ -353,9 +354,9 @@ bool Launcher::MainDialog::setupGameSettings()
|
|
|
|
stream.setCodec(QTextCodec::codecForName("UTF-8"));
|
|
|
|
stream.setCodec(QTextCodec::codecForName("UTF-8"));
|
|
|
|
|
|
|
|
|
|
|
|
mGameSettings.readFile(stream);
|
|
|
|
mGameSettings.readFile(stream);
|
|
|
|
}
|
|
|
|
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|