summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.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/mailwindow.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadManaVerse-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/mailwindow.cpp')
-rw-r--r--src/gui/windows/mailwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 9da69fb0a..963b981be 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -98,15 +98,15 @@ MailWindow::MailWindow() :
mListScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
- ContainerPlacer placer;
+ ContainerPlacer placer(nullptr, nullptr);
placer = getPlacer(0, 0);
placer(0, 0, mListScrollArea, 4, 5).setPadding(3);
- placer(4, 0, mRefreshButton);
- placer(4, 1, mOpenButton);
- placer(4, 2, mNewButton);
- placer(4, 3, mDeleteButton);
- placer(4, 4, mReturnButton);
+ placer(4, 0, mRefreshButton, 1, 1);
+ placer(4, 1, mOpenButton, 1, 1);
+ placer(4, 2, mNewButton, 1, 1);
+ placer(4, 3, mDeleteButton, 1, 1);
+ placer(4, 4, mReturnButton, 1, 1);
Layout &layout = getLayout();
layout.setRowHeight(0, LayoutType::SET);