summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-14 19:08:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-14 19:08:41 +0300
commit38e76a1e6b2cd24c8f4ddf17631a0865142b169f (patch)
tree30048eae86b9a6c3a46d2063460982ea367e7314 /src
parent95fefc5521f231ab6bf3119d768a3681ee5e3050 (diff)
downloadplus-38e76a1e6b2cd24c8f4ddf17631a0865142b169f.tar.gz
plus-38e76a1e6b2cd24c8f4ddf17631a0865142b169f.tar.bz2
plus-38e76a1e6b2cd24c8f4ddf17631a0865142b169f.tar.xz
plus-38e76a1e6b2cd24c8f4ddf17631a0865142b169f.zip
Use CREATEWIDGET macro in setupwindow.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/setupwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp
index 8dabbc36f..674668cf7 100644
--- a/src/gui/windows/setupwindow.cpp
+++ b/src/gui/windows/setupwindow.cpp
@@ -28,6 +28,8 @@
#include "gui/windows/chatwindow.h"
+#include "gui/widgets/createwidget.h"
+
#include "gui/widgets/tabs/setup_audio.h"
#include "gui/widgets/tabs/setup_chat.h"
#include "gui/widgets/tabs/setup_colors.h"
@@ -67,11 +69,10 @@ SetupWindow::SetupWindow() :
mModsTab(nullptr),
mQuickTab(nullptr),
mResetWindows(nullptr),
- mPanel(new TabbedArea(this)),
+ mPanel(CREATEWIDGETR(TabbedArea, this)),
mVersion(new Label(this, FULL_VERSION)),
mButtonPadding(5)
{
- mPanel->postInit();
setCloseButton(true);
setResizable(true);
setStickyButtonLock(true);