summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layouthelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/layouthelper.h')
-rw-r--r--src/gui/widgets/layouthelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h
index 055e6fa6..b8512212 100644
--- a/src/gui/widgets/layouthelper.h
+++ b/src/gui/widgets/layouthelper.h
@@ -34,14 +34,14 @@
class LayoutHelper : public gcn::WidgetListener
{
public:
- LayoutHelper(gcn::Container *container);
+ explicit LayoutHelper(gcn::Container *container);
~LayoutHelper();
/**
* Gets the layout handler.
*/
- Layout &getLayout();
+ Layout &getLayout() { return mLayout; }
/**
* Computes the position of the widgets according to the current