summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/shortcutcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp
index 767a32974..866dde6f1 100644
--- a/src/gui/widgets/shortcutcontainer.cpp
+++ b/src/gui/widgets/shortcutcontainer.cpp
@@ -28,9 +28,9 @@
float ShortcutContainer::mAlpha = 1.0;
-ShortcutContainer::ShortcutContainer() :
+ShortcutContainer::ShortcutContainer(Widget2 *const widget) :
gcn::Widget(),
- Widget2(),
+ Widget2(widget),
WidgetListener(),
MouseListener(),
mBackgroundImg(nullptr),