From f55baadfeb6245899497cd472f65f23e905481b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Dec 2017 06:12:48 +0300 Subject: Remove default parameters from containerplacer. --- src/gui/widgets/attrs/changedisplay.cpp | 8 ++++---- src/gui/widgets/attrs/derdisplay.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/widgets/attrs') diff --git a/src/gui/widgets/attrs/changedisplay.cpp b/src/gui/widgets/attrs/changedisplay.cpp index a24057af5..d5a598545 100644 --- a/src/gui/widgets/attrs/changedisplay.cpp +++ b/src/gui/widgets/attrs/changedisplay.cpp @@ -52,10 +52,10 @@ ChangeDisplay::ChangeDisplay(const Widget2 *const widget, // Do the layout ContainerPlacer place = mLayout->getPlacer(0, 0); - place(0, 0, mLabel, 3); - place(4, 0, mValue, 2); - place(6, 0, mInc); - place(7, 0, mPoints); + place(0, 0, mLabel, 3, 1); + place(4, 0, mValue, 2, 1); + place(6, 0, mInc, 1, 1); + place(7, 0, mPoints, 1, 1); } std::string ChangeDisplay::update() diff --git a/src/gui/widgets/attrs/derdisplay.cpp b/src/gui/widgets/attrs/derdisplay.cpp index 2c20c3713..5bb05b719 100644 --- a/src/gui/widgets/attrs/derdisplay.cpp +++ b/src/gui/widgets/attrs/derdisplay.cpp @@ -35,6 +35,6 @@ DerDisplay::DerDisplay(const Widget2 *const widget, { ContainerPlacer place = mLayout->getPlacer(0, 0); - place(0, 0, mLabel, 3); - place(3, 0, mValue, 2); + place(0, 0, mLabel, 3, 1); + place(3, 0, mValue, 2, 1); } -- cgit v1.2.3-70-g09d2