From 38e76a1e6b2cd24c8f4ddf17631a0865142b169f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Jun 2015 19:08:41 +0300 Subject: Use CREATEWIDGET macro in setupwindow. --- src/gui/windows/setupwindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui') 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); -- cgit v1.2.3-70-g09d2