summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-10-22 14:01:34 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-10-22 14:01:34 +0200
commitb10fdfddb20f66d2b0c572d91b6b6ec54ae02802 (patch)
tree89e0336791edcf474d4f47da280e72318c461957 /src/client.cpp
parentdbac793645654ac6715e6adecfd9d4a4a1fd8551 (diff)
downloadmana-client-b10fdfddb20f66d2b0c572d91b6b6ec54ae02802.tar.gz
mana-client-b10fdfddb20f66d2b0c572d91b6b6ec54ae02802.tar.bz2
mana-client-b10fdfddb20f66d2b0c572d91b6b6ec54ae02802.tar.xz
mana-client-b10fdfddb20f66d2b0c572d91b6b6ec54ae02802.zip
Changed 'Low CPU' options and related gui widgets name to 'Disable transparency'.
That name is more explicit about what it actually does. Reviewed-by: CodyMartin.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 3ed3fb34..110420d5 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -320,7 +320,7 @@ Client::Client(const Options &options):
bool useOpenGL = !mOptions.noOpenGL && (config.getValue("opengl", 0) == 1);
// Set up the transparency option for low CPU when not using OpenGL.
- if (!useOpenGL && (config.getValue("lowcpu", 0) == 1))
+ if (!useOpenGL && (config.getValue("disableTransparency", 0) == 1))
Image::SDLdisableTransparency();
#ifdef USE_OPENGL
@@ -1166,7 +1166,7 @@ void Client::initConfiguration()
config.setValue("customcursor", true);
config.setValue("useScreenshotDirectorySuffix", true);
config.setValue("ChatLogLength", 128);
- config.setValue("lowcpu", true);
+ config.setValue("disableTransparency", false);
// Checking if the configuration file exists... otherwise create it with
// default options.