From b7e35a7bbd41c39fa675e77b2af6a11bb4d86dd2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Sep 2012 22:09:11 +0300 Subject: Improve constructors in some classes. --- src/gui/setup_other.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/setup_other.cpp') 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"); -- cgit v1.2.3-70-g09d2