From 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 19:17:31 +0300 Subject: Remove default parameters from layouthelper. --- src/gui/widgets/layouthelper.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h index 0f84e280c..c0389cec3 100644 --- a/src/gui/widgets/layouthelper.h +++ b/src/gui/widgets/layouthelper.h @@ -65,13 +65,17 @@ class LayoutHelper final : public WidgetListener * @param w if non-zero, force the container to this width. * @param h if non-zero, force the container to this height. */ - void reflowLayout(int w = 0, int h = 0); + void reflowLayout(int w, + int h); /** * Adds a widget to the container and sets it at given cell. */ - LayoutCell &place(const int x, const int y, Widget *const wg, - const int w = 1, const int h = 1); + LayoutCell &place(const int x, + const int y, + Widget *const wg, + const int w, + const int h); /** * Returns a proxy for adding widgets in an inner table of the layout. -- cgit v1.2.3-70-g09d2