summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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);