summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-16 21:54:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-16 21:54:07 +0300
commitb0a4559af43b45905d3689e94db87aaf3fa18fcd (patch)
tree1ce14e2f0a9fa18cdf3bf315a7dda9a111d57434 /src/configmanager.cpp
parent5f30b7f0519def9ef1ccb5bdd237f1fc5d47268d (diff)
downloadmanaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.gz
manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.bz2
manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.tar.xz
manaplus-b0a4559af43b45905d3689e94db87aaf3fa18fcd.zip
Run video mode detection.
This need for detect max texture size in each renderer.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index de72045ac..b16a366c7 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -314,8 +314,8 @@ void ConfigManager::checkConfigVersion()
if (version < 7)
config.setValue("download-music", true);
- if (version < 8)
+ if (version < 9)
config.deleteKey("videodetected");
- config.setValue("cfgver", 8);
+ config.setValue("cfgver", 9);
}