diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-24 20:58:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-24 20:58:18 +0300 |
commit | 75c5b3d32afdb34b824daafaa6d4300b9a8ec06b (patch) | |
tree | cd40cd214fd3f590ec7af6f4ca5c627d4ffed068 /src/gui/widgets/tabs | |
parent | 280e7f9dcf757bed0bf652cee1a1485c695cc757 (diff) | |
download | manaplus-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.gz manaplus-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.bz2 manaplus-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.tar.xz manaplus-75c5b3d32afdb34b824daafaa6d4300b9a8ec06b.zip |
Add option to disable logging for better performance while connected to server.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_perfomance.cpp | 9 |
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)); } |