summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-21 23:19:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-21 23:19:29 +0300
commit5d6e4e9a5875d79173e9d2c867567dc26354240e (patch)
treec4970334ea3700e955562755c18b51746c744c60 /src/configmanager.cpp
parent42f47e483da19079a937c4801ca94bd62d8dc970 (diff)
downloadManaVerse-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.gz
ManaVerse-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.bz2
ManaVerse-5d6e4e9a5875d79173e9d2c867567dc26354240e.tar.xz
ManaVerse-5d6e4e9a5875d79173e9d2c867567dc26354240e.zip
Change useless if conditions.
Diffstat (limited to 'src/configmanager.cpp')
-rw-r--r--src/configmanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 804d597ce..1039c5a01 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -386,12 +386,13 @@ void ConfigManager::checkConfigVersion()
config.setValue("customcursor", false);
#endif // ANDROID
}
+#ifdef ANDROID
if (version < 4)
{
-#ifdef ANDROID
config.setValue("showDidYouKnow", false);
-#endif // ANDROID
}
+#endif // ANDROID
+
if (version < 5)
{
if (config.getIntValue("speech") == BeingSpeech::TEXT_OVERHEAD)