diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
commit | f55baadfeb6245899497cd472f65f23e905481b9 (patch) | |
tree | d5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/textselectdialog.cpp | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2 manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.zip |
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/textselectdialog.cpp')
-rw-r--r-- | src/gui/windows/textselectdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/textselectdialog.cpp b/src/gui/windows/textselectdialog.cpp index 11100d2d8..ce4b7e73d 100644 --- a/src/gui/windows/textselectdialog.cpp +++ b/src/gui/windows/textselectdialog.cpp @@ -101,18 +101,18 @@ void TextSelectDialog::postInit() mItemList->setActionEventId("item"); mItemList->addActionListener(this); - ContainerPlacer placer; + ContainerPlacer placer(nullptr, nullptr); placer = getPlacer(0, 0); placer(0, 0, mScrollArea, 8, 5).setPadding(3); if (mQuitButton != nullptr) { - placer(6, 5, mSelectButton); - placer(7, 5, mQuitButton); + placer(6, 5, mSelectButton, 1, 1); + placer(7, 5, mQuitButton, 1, 1); } else { - placer(7, 5, mSelectButton); + placer(7, 5, mSelectButton, 1, 1); } Layout &layout = getLayout(); |