summaryrefslogtreecommitdiff
path: root/src/gui/setup_other.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-07 22:09:11 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-07 22:09:11 +0300
commitb7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 (patch)
treeee27a5a1ace7e5dbc588466dc623013e4d5cea99 /src/gui/setup_other.cpp
parent7d3059516fc25134d0d29b497e546f2846162399 (diff)
downloadplus-b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2.tar.gz
plus-b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2.tar.bz2
plus-b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2.tar.xz
plus-b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2.zip
Improve constructors in some classes.
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");