summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.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/shortcutwindow.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadplus-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
plus-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
plus-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
plus-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp6
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));
}