summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 01:07:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 01:07:46 +0300
commitb717426195ce73de9a70412a1e40fb01898264ae (patch)
treedb2d44f23f100cf4ee8cf94a2081e36f824b50f0 /src/gui/widgets/setupitem.cpp
parent43aa8e6bedff642ba584c447c03886c1f0c52aac (diff)
downloadmv-b717426195ce73de9a70412a1e40fb01898264ae.tar.gz
mv-b717426195ce73de9a70412a1e40fb01898264ae.tar.bz2
mv-b717426195ce73de9a70412a1e40fb01898264ae.tar.xz
mv-b717426195ce73de9a70412a1e40fb01898264ae.zip
Remove default parameters from vertcontainer.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r--src/gui/widgets/setupitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index abe67d746..9a2bb663f 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -245,7 +245,7 @@ void SetupItemCheckBox::createControls()
mCheckBox = new CheckBox(this, mText, mValue != "0", mParent, mEventName);
mCheckBox->setToolTip(mDescription);
mWidget = mCheckBox;
- mParent->getContainer()->add1(mWidget);
+ mParent->getContainer()->add1(mWidget, -1);
mParent->addControl(this);
mParent->addActionListener(this);
mWidget->addActionListener(this);
@@ -618,7 +618,7 @@ void SetupItemLabel::createControls()
mLabel->setToolTip(mDescription);
mWidget = mLabel;
- mParent->getContainer()->add1(mWidget);
+ mParent->getContainer()->add1(mWidget, -1);
mParent->addControl(this);
mParent->addActionListener(this);
mWidget->addActionListener(this);