summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-07 23:17:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-07 23:31:20 +0300
commit21036c157955da93485e0b4ea5d22116cfdaba33 (patch)
tree9f0ddb8baa8e6dcb7023a8f39d325b810e9ceab7 /src/configmanager.cpp
parentef6869c9759246b3a0d6cc1c58a25773ccfcc858 (diff)
downloadmv-21036c157955da93485e0b4ea5d22116cfdaba33.tar.gz
mv-21036c157955da93485e0b4ea5d22116cfdaba33.tar.bz2
mv-21036c157955da93485e0b4ea5d22116cfdaba33.tar.xz
mv-21036c157955da93485e0b4ea5d22116cfdaba33.zip
Remove bot checker window.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index d80bddd85..b0f3a28e2 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -347,7 +347,11 @@ void ConfigManager::checkConfigVersion()
#endif
unassignKey("keyAttack", "k120");
}
- config.setValue("cfgver", 12);
+
+ if (version < 13)
+ config.setValue("keyWindowBotChecker", -1);
+
+ config.setValue("cfgver", 13);
}
#undef unassignKey