summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-31 20:29:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-31 20:29:03 +0300
commit7d987d35caf7a90b7ed0ffc942297ddc68c3da07 (patch)
tree90213329fe89653f92cbcfc20f550265e57c481d /src/gui/windows/shortcutwindow.cpp
parent8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff)
downloadplus-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.gz
plus-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.bz2
plus-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.xz
plus-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.zip
Move ImagePosition enum into enums directory.
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 f463b5526..a186295ac 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -90,7 +90,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
if (height == 0)
height = bh * maxItems + border;
- setDefaultSize(width, height, ImageRect::LOWER_RIGHT);
+ setDefaultSize(width, height, ImagePosition::LOWER_RIGHT);
mBoxesWidth += bw + border;
}
@@ -133,7 +133,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
setupWindow->registerWindowForReset(this);
if (width && height)
- setDefaultSize(width, height, ImageRect::LOWER_RIGHT);
+ setDefaultSize(width, height, ImagePosition::LOWER_RIGHT);
setMinWidth(32);
setMinHeight(32);