diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:17:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 19:17:31 +0300 |
commit | 5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc (patch) | |
tree | 2c8e648ee0ffb6f616b581bb273b9f3ab274b711 /src | |
parent | ea40cd4fa5e65698cbabb3649e2d5641f47df265 (diff) | |
download | plus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.gz plus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.bz2 plus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.tar.xz plus-5e7a4e68d73eb9adcb72de9d7e2b0e592f2c58cc.zip |
Remove default parameters from layouthelper.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/layouthelper.h | 10 |
1 files changed, 7 insertions, 3 deletions
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. |