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/shopwindow.cpp | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | plus-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/shopwindow.cpp')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 6ffd2649a..57406fb4b 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -181,10 +181,10 @@ ShopWindow::ShopWindow() : mBuyShopItemList->addSelectionListener(this); mSellShopItemList->addSelectionListener(this); - ContainerPlacer placer; + ContainerPlacer placer(nullptr, nullptr); placer = getPlacer(0, 0); - placer(0, 0, mTabs, 8).setPadding(3); + placer(0, 0, mTabs, 8, 1).setPadding(3); if (mHaveVending) { @@ -192,8 +192,8 @@ ShopWindow::ShopWindow() : mPublishButton = new Button(this, _("Publish"), "publish", this); // TRANSLATORS: shop window button mRenameButton = new Button(this, _("Rename"), "rename", this); - placer(2, 6, mPublishButton); - placer(3, 6, mRenameButton); + placer(2, 6, mPublishButton, 1, 1); + placer(3, 6, mRenameButton, 1, 1); } else { @@ -203,14 +203,14 @@ ShopWindow::ShopWindow() : mAnnounceLinks = new CheckBox(this, _("Show links in announce"), false, this, "link announce"); - placer(2, 6, mAnnounceButton); - placer(0, 7, mAnnounceLinks, 7); + placer(2, 6, mAnnounceButton, 1, 1); + placer(0, 7, mAnnounceLinks, 7, 1); } placer(0, 1, mScrollArea, 8, 5).setPadding(3); - placer(0, 6, mAddButton); - placer(1, 6, mDeleteButton); - placer(7, 6, mCloseButton); + placer(0, 6, mAddButton, 1, 1); + placer(1, 6, mDeleteButton, 1, 1); + placer(7, 6, mCloseButton, 1, 1); Layout &layout = getLayout(); layout.setRowHeight(0, LayoutType::SET); |