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/mailwindow.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/mailwindow.cpp')
-rw-r--r-- | src/gui/windows/mailwindow.cpp | 12 |
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); |