summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-13 04:08:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-13 04:08:04 +0300
commita45303dc06c74735389607e5b281bb69543547ed (patch)
treef61a9991de027ee43058bd5fc80a1fd84b054505
parent65687244d99a6db68d1989e5053af1ba9f58bfce (diff)
downloadplus-a45303dc06c74735389607e5b281bb69543547ed.tar.gz
plus-a45303dc06c74735389607e5b281bb69543547ed.tar.bz2
plus-a45303dc06c74735389607e5b281bb69543547ed.tar.xz
plus-a45303dc06c74735389607e5b281bb69543547ed.zip
Hide empty options group in performance settings tab (SDL2).
-rw-r--r--src/gui/widgets/tabs/setup_perfomance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_perfomance.cpp b/src/gui/widgets/tabs/setup_perfomance.cpp
index b583257d8..d28b82680 100644
--- a/src/gui/widgets/tabs/setup_perfomance.cpp
+++ b/src/gui/widgets/tabs/setup_perfomance.cpp
@@ -119,11 +119,11 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
"", "enableReorderSprites", this, "enableReorderSpritesEvent");
+#ifndef USE_SDL2
// TRANSLATORS: settings option
new SetupItemLabel(_("Small memory (enable for lower memory usage)"),
"", this);
-#ifndef USE_SDL2
// TRANSLATORS: settings option
new SetupItemCheckBox(_("Disable advanced beings caching (Software)"), "",
"disableAdvBeingCaching", this, "disableAdvBeingCachingEvent");
@@ -133,6 +133,7 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) :
"disableBeingCaching", this, "disableBeingCachingEvent");
#endif // USE_SDL2
+
// TRANSLATORS: settings group
new SetupItemLabel(_("Different options (enable or disable can "
"improve performance)"), "", this);