summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/didyouknowwindow.cpp')
-rw-r--r--src/gui/didyouknowwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/didyouknowwindow.cpp b/src/gui/didyouknowwindow.cpp
index c40c60fe7..c6880b420 100644
--- a/src/gui/didyouknowwindow.cpp
+++ b/src/gui/didyouknowwindow.cpp
@@ -50,7 +50,7 @@ static const int maxTip = 16;
DidYouKnowWindow::DidYouKnowWindow():
Window(_("Did You Know?"), false, nullptr, "didyouknow.xml"),
gcn::ActionListener(),
- mBrowserBox(new BrowserBox),
+ mBrowserBox(new BrowserBox(this)),
mScrollArea(new ScrollArea(mBrowserBox,
true, "didyouknow_background.xml")),
mButtonPrev(new Button(_("< Previous"), "prev", this)),