summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 00:43:20 +0300
commit30ba8a737da8b1811397786106085f2c13167803 (patch)
tree09e52b2fcb8ac35d3de76781de7508dc6a9c9278 /src/gui/windows/shortcutwindow.cpp
parent03f4d4beaaa2ea4ac99aa746460283d4ca644a3f (diff)
downloadplus-30ba8a737da8b1811397786106085f2c13167803.tar.gz
plus-30ba8a737da8b1811397786106085f2c13167803.tar.bz2
plus-30ba8a737da8b1811397786106085f2c13167803.tar.xz
plus-30ba8a737da8b1811397786106085f2c13167803.zip
Remove default parameters from window.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index efc66872f..ae07f449c 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -92,7 +92,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
if (height == 0)
height = bh * maxItems + border;
- setDefaultSize(width, height, ImagePosition::LOWER_RIGHT);
+ setDefaultSize(width, height, ImagePosition::LOWER_RIGHT, 0, 0);
mBoxesWidth += bw + border;
}
@@ -135,7 +135,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
setupWindow->registerWindowForReset(this);
if ((width != 0) && (height != 0))
- setDefaultSize(width, height, ImagePosition::LOWER_RIGHT);
+ setDefaultSize(width, height, ImagePosition::LOWER_RIGHT, 0, 0);
setMinWidth(32);
setMinHeight(32);