check if settingsdialog is called from ingame and disable reset settings

button
This commit is contained in:
doitux
2012-01-06 09:34:26 +00:00
parent cd3eaaf2b9
commit bc8f9b9b89
6 changed files with 40 additions and 10 deletions
@@ -44,7 +44,7 @@ public:
~settingsDialogImpl();
void prepareDialog();
void exec();
void exec(bool ingame);
void setPlayerNickIsChanged(bool theValue) {
playerNickIsChanged = theValue;
@@ -142,6 +142,7 @@ private:
QString myAppDataPath;
bool languageIsChanged;
bool calledIngame;
int changedLanguageIndex;
};