diff options
Diffstat (limited to 'src/gui/widgets/containerplacer.h')
-rw-r--r-- | src/gui/widgets/containerplacer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/containerplacer.h b/src/gui/widgets/containerplacer.h index cd1e0221e..fa24b7720 100644 --- a/src/gui/widgets/containerplacer.h +++ b/src/gui/widgets/containerplacer.h @@ -35,8 +35,8 @@ class Widget; class ContainerPlacer final { public: - explicit ContainerPlacer(BasicContainer2 *const c = nullptr, - LayoutCell *const lc = nullptr) : + ContainerPlacer(BasicContainer2 *const c, + LayoutCell *const lc) : mContainer(c), mCell(lc) {} @@ -62,8 +62,8 @@ class ContainerPlacer final LayoutCell &operator()(const int x, const int y, Widget *const wg, - const int w = 1, - const int h = 1); + const int w, + const int h); private: BasicContainer2 *mContainer; |