From b717426195ce73de9a70412a1e40fb01898264ae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 01:07:46 +0300 Subject: Remove default parameters from vertcontainer. --- src/gui/widgets/statspage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/statspage.cpp') diff --git a/src/gui/widgets/statspage.cpp b/src/gui/widgets/statspage.cpp index 0540b1a24..b09e4c563 100644 --- a/src/gui/widgets/statspage.cpp +++ b/src/gui/widgets/statspage.cpp @@ -38,7 +38,7 @@ StatsPage::StatsPage(const Widget2 *const widget, AttributeListener(), StatListener(), mAttrs(), - mAttrCont(new VertContainer(this, 32)), + mAttrCont(new VertContainer(this, 32, true, 0)), mAttrScroll(new ScrollArea(this, mAttrCont, Opaque_false)) { addWidgetListener(this); @@ -59,7 +59,7 @@ StatsPage::StatsPage(const Widget2 *const widget, stat.name, stat.tag); disp->update(); - mAttrCont->add2(disp, true); + mAttrCont->add2(disp, true, -1); mAttrs[stat.attr] = disp; } } -- cgit v1.2.3-70-g09d2