summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index baf8b68d7..87c539089 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -26,6 +26,7 @@
#include "gui/widgets/tabbedarea.h"
#include "gui/widgets/button.h"
+#include "gui/widgets/createwidget.h"
#include "gui/widgets/layout.h"
#include "gui/widgets/layouttype.h"
#include "gui/widgets/scrollarea.h"
@@ -108,11 +109,10 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
Window("Window", Modal_false, nullptr, skinFile),
mItems(nullptr),
mScrollArea(nullptr),
- mTabs(new TabbedArea(this)),
+ mTabs(CREATEWIDGETR(TabbedArea, this)),
mPages(),
mButtonIndex(0)
{
- mTabs->postInit();
setWindowName(title);
setTitleBarHeight(getPadding() + getTitlePadding());
setShowTitle(false);