summaryrefslogtreecommitdiff
path: root/src/configmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-10 21:10:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-10 21:10:07 +0300
commitbfd0d4d13b9b13b48e99122b271b792d18c2cd8a (patch)
tree527d2d9dafa8d284744f9f3383bec4916583c339 /src/configmanager.cpp
parent7e53a47d6f3e2dfb1446384e674f9d391bd23f7a (diff)
downloadplus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.gz
plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.bz2
plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.tar.xz
plus-bfd0d4d13b9b13b48e99122b271b792d18c2cd8a.zip
Fix some issues without C++11 flags.
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 8358aa995..98916ebbd 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -263,7 +263,7 @@ void ConfigManager::storeSafeParameters()
enableMumble = config.getBoolValue("enableMumble");
enableMapReduce = config.getBoolValue("enableMapReduce");
- if (!settings.options.safeMode && tmpOpengl == RenderType::RENDER_SOFTWARE)
+ if (!settings.options.safeMode && tmpOpengl == RENDER_SOFTWARE)
{
// if video mode configured reset most settings to safe
config.setValue("hwaccel", false);
@@ -306,7 +306,7 @@ void ConfigManager::storeSafeParameters()
}
config.setValue("safemode", false);
- if (tmpOpengl == RenderType::RENDER_SOFTWARE)
+ if (tmpOpengl == RENDER_SOFTWARE)
{
config.setValue("hwaccel", tmpHwaccel);
config.setValue("opengl", CAST_S32(tmpOpengl));