summaryrefslogtreecommitdiff
path: root/src/gui/didyouknowwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 00:14:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commit504219f9df4b9dda139dd832e263a136e51c4851 (patch)
tree36daaa884d7c3fa64e6d6f2ba3ccb382e2201d8f /src/gui/didyouknowwindow.cpp
parentd59cd9111c1e86b224ea62cc975c49b157e2b3cf (diff)
downloadplus-504219f9df4b9dda139dd832e263a136e51c4851.tar.gz
plus-504219f9df4b9dda139dd832e263a136e51c4851.tar.bz2
plus-504219f9df4b9dda139dd832e263a136e51c4851.tar.xz
plus-504219f9df4b9dda139dd832e263a136e51c4851.zip
Add palette inheritance to browserbox class.
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)),