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/shortcutwindow.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/shortcutwindow.cpp')
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp index bff1efe58..efc66872f 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -162,7 +162,11 @@ void ShortcutWindow::addButton(const std::string &text, const std::string &eventName, ActionListener *const listener) { - place(mButtonIndex++, 5, new Button(this, text, eventName, listener)); + place(mButtonIndex++, + 5, + new Button(this, text, eventName, listener), + 1, + 1); Window::widgetResized(Event(nullptr)); } |