summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r--src/gui/shortcutwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index 06127c8b2..6f00e36c2 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -59,7 +59,8 @@ ShortcutWindow::ShortcutWindow(const std::string &title,
Window("Window", false, nullptr, skinFile),
mItems(content),
mScrollArea(new ScrollArea(mItems, false)),
- mTabs(nullptr)
+ mTabs(nullptr),
+ mPages()
{
setWindowName(title);
setTitleBarHeight(getPadding() + getTitlePadding());
@@ -108,7 +109,8 @@ ShortcutWindow::ShortcutWindow(const std::string &title, std::string skinFile,
Window("Window", false, nullptr, skinFile),
mItems(nullptr),
mScrollArea(nullptr),
- mTabs(new TabbedArea(this))
+ mTabs(new TabbedArea(this)),
+ mPages()
{
setWindowName(title);
setTitleBarHeight(getPadding() + getTitlePadding());