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/updaterwindow.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/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 5bff64bc3..c8eefbac6 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -226,14 +226,14 @@ UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost, mBrowserBox->setEnableTabs(true); mPlayButton->setEnabled(false); - ContainerPlacer placer; + ContainerPlacer placer(nullptr, nullptr); placer = getPlacer(0, 0); placer(0, 0, mScrollArea, 5, 3).setPadding(3); - placer(0, 3, mLabel, 5); - placer(0, 4, mProgressBar, 5); - placer(3, 5, mCancelButton); - placer(4, 5, mPlayButton); + placer(0, 3, mLabel, 5, 1); + placer(0, 4, mProgressBar, 5, 1); + placer(3, 5, mCancelButton, 1, 1); + placer(4, 5, mPlayButton, 1, 1); Layout &layout = getLayout(); layout.setRowHeight(0, LayoutType::SET); |