summaryrefslogtreecommitdiff
path: root/src/gui/setup_other.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_other.cpp')
-rw-r--r--src/gui/setup_other.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/setup_other.cpp b/src/gui/setup_other.cpp
index e727f7f39..424a518f2 100644
--- a/src/gui/setup_other.cpp
+++ b/src/gui/setup_other.cpp
@@ -32,7 +32,10 @@
#include "debug.h"
-Setup_Other::Setup_Other()
+Setup_Other::Setup_Other() :
+ SetupTabScroll(),
+ mProxyTypeList(new SetupItemNames()),
+ mShortcutsList(new SetupItemNames())
{
setName(_("Misc"));
@@ -182,7 +185,6 @@ Setup_Other::Setup_Other()
new SetupItemLabel(_("Windows"), "", this);
- mShortcutsList = new SetupItemNames();
mShortcutsList->push_back(_("Always show"));
mShortcutsList->push_back(_("Auto hide in small resolution"));
mShortcutsList->push_back(_("Always auto hide"));
@@ -192,7 +194,6 @@ Setup_Other::Setup_Other()
new SetupItemLabel(_("Proxy server"), "", this);
- mProxyTypeList = new SetupItemNames();
mProxyTypeList->push_back(_("System proxy"));
mProxyTypeList->push_back(_("Direct connection"));
mProxyTypeList->push_back("HTTP");