summaryrefslogtreecommitdiff
path: root/src/gui/windows/maileditwindow.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/maileditwindow.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadmanaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
manaplus-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r--src/gui/windows/maileditwindow.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index 5c7b8efec..5ca0d34c6 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -95,7 +95,7 @@ MailEditWindow::MailEditWindow() :
setMinHeight(200);
center();
- ContainerPlacer placer;
+ ContainerPlacer placer(nullptr, nullptr);
placer = getPlacer(0, 0);
mToField->setWidth(100);
@@ -105,20 +105,20 @@ MailEditWindow::MailEditWindow() :
mItemScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
mToField->addFocusListener(this);
- placer(0, 0, mToLabel);
- placer(1, 0, mToField, 3);
- placer(0, 1, mSubjectLabel);
- placer(1, 1, mSubjectField, 3);
- placer(0, 2, mMoneyLabel);
- placer(1, 2, mMoneyField, 3);
- placer(0, 3, mItemLabel);
+ placer(0, 0, mToLabel, 1, 1);
+ placer(1, 0, mToField, 3, 1);
+ placer(0, 1, mSubjectLabel, 1, 1);
+ placer(1, 1, mSubjectField, 3, 1);
+ placer(0, 2, mMoneyLabel, 1, 1);
+ placer(1, 2, mMoneyField, 3, 1);
+ placer(0, 3, mItemLabel, 1, 1);
placer(1, 3, mItemScrollArea, 2, 2);
- placer(3, 4, mAddButton, 1);
+ placer(3, 4, mAddButton, 1, 1);
- placer(0, 5, mMessageLabel);
- placer(1, 5, mMessageField, 3);
- placer(0, 6, mSendButton);
- placer(3, 6, mCloseButton);
+ placer(0, 5, mMessageLabel, 1, 1);
+ placer(1, 5, mMessageField, 3, 1);
+ placer(0, 6, mSendButton, 1, 1);
+ placer(3, 6, mCloseButton, 1, 1);
loadWindowState();
if (mUseMail2)