From 1fcd75140b847a0e50584fc07fc47d90c9dd9fa8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jul 2011 20:42:40 +0300 Subject: Add small optimisations and fixes. --- src/gui/widgets/layouthelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/layouthelper.h') diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h index 9b2795be7..c38356c07 100644 --- a/src/gui/widgets/layouthelper.h +++ b/src/gui/widgets/layouthelper.h @@ -54,7 +54,7 @@ class LayoutHelper : public gcn::WidgetListener /** * Gets the layout handler. */ - Layout &getLayout(); + const Layout &getLayout() const; /** * Computes the position of the widgets according to the current -- cgit v1.2.3-70-g09d2