summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 0f72ad649..578ddd4a9 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -45,9 +45,10 @@
#include "debug.h"
-BrowserBox::BrowserBox(const unsigned int mode, const bool opaque) :
+BrowserBox::BrowserBox(const Widget2 *const widget, const unsigned int mode,
+ const bool opaque) :
gcn::Widget(),
- Widget2(),
+ Widget2(widget),
gcn::MouseListener(),
mLinkHandler(nullptr),
mMode(mode),