summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-17 19:06:58 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-17 19:06:58 +0300
commit8e2344e5648f3e0dd9a43e807e9fc56693e32ac7 (patch)
tree0d7a707cf6ebe220ba6e0538a10b70407f8dab52 /src/gui
parenteb928ee85732d5de03d53ba29d466a8525ccf12d (diff)
downloadplus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.gz
plus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.bz2
plus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.xz
plus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.zip
Fix wrong type for reading parameter.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windowmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 8b439e6de..714f92cb4 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -298,7 +298,7 @@ void WindowManager::applyGrabMode()
void WindowManager::applyGamma()
{
- if (config.getFloatValue("enableGamma"))
+ if (config.getBoolValue("enableGamma"))
{
SDL::setGamma(mainGraphics->getWindow(),
config.getFloatValue("gamma"));