From f55baadfeb6245899497cd472f65f23e905481b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Dec 2017 06:12:48 +0300 Subject: Remove default parameters from containerplacer. --- src/gui/windows/maileditwindow.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/gui/windows/maileditwindow.cpp') 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) -- cgit v1.2.3-70-g09d2