summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_perfomance.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-24 20:58:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-24 20:58:18 +0300
commit75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (patch)
treecd40cd214fd3f590ec7af6f4ca5c627d4ffed068 /src/gui/widgets/tabs/setup_perfomance.cpp
parent280e7f9dcf757bed0bf652cee1a1485c695cc757 (diff)
downloadmv-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.gz
mv-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.bz2
mv-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.xz
mv-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.zip
Add option to disable logging for better performance while connected to server.
Diffstat (limited to 'src/gui/widgets/tabs/setup_perfomance.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_perfomance.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_perfomance.cpp b/src/gui/widgets/tabs/setup_perfomance.cpp
index 247419f7b..a6a8d80c0 100644
--- a/src/gui/widgets/tabs/setup_perfomance.cpp
+++ b/src/gui/widgets/tabs/setup_perfomance.cpp
@@ -129,7 +129,6 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
new SetupItemLabel(_("Different options (enable or disable can "
"improve performance)"), "", this);
-
mTexturesList->fillFromArray(&texturesList[0], texturesListSize);
// TRANSLATORS: settings option
new SetupItemDropDown(_("Enable texture compression (OpenGL)"), "",
@@ -157,6 +156,14 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
"", "uselonglivesounds", this,
"uselonglivesoundsEvent");
+ // TRANSLATORS: settings group
+ new SetupItemLabel(_("Critical options (DO NOT change if you don't "
+ "know what it duing)"), "", this);
+
+ // TRANSLATORS: settings option
+ new SetupItemCheckBox(_("Disable logging in game (do not enable)"),
+ "", "disableLoggingInGame", this, "disableLoggingInGameEvent");
+
setDimension(Rect(0, 0, 550, 350));
}