summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
commitf55baadfeb6245899497cd472f65f23e905481b9 (patch)
treed5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/quitdialog.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
plus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
plus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
plus-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r--src/gui/windows/quitdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index b9ef417c3..b14b4c52b 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -113,8 +113,8 @@ QuitDialog::QuitDialog(QuitDialog **const pointerToMe) :
}
placer = getPlacer(0, 1);
- placer(1, 0, mOkButton, 1);
- placer(2, 0, mCancelButton, 1);
+ placer(1, 0, mOkButton, 1, 1);
+ placer(2, 0, mCancelButton, 1, 1);
reflowLayout(200, 0);
}
@@ -141,7 +141,7 @@ QuitDialog::~QuitDialog()
void QuitDialog::placeOption(ContainerPlacer &placer,
RadioButton *const option)
{
- placer(0, CAST_S32(mOptions.size()), option, 3);
+ placer(0, CAST_S32(mOptions.size()), option, 3, 1);
mOptions.push_back(option);
}