summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.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/shopwindow.cpp
parent8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff)
downloadmv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.gz
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.bz2
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.tar.xz
mv-7d987d35caf7a90b7ed0ffc942297ddc68c3da07.zip
Move ImagePosition enum into enums directory.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 127f0fbcd..fd9a22996 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -153,9 +153,9 @@ ShopWindow::ShopWindow() :
setMinWidth(300);
setMinHeight(220);
if (mainGraphics->mWidth > 600)
- setDefaultSize(500, 300, ImageRect::CENTER);
+ setDefaultSize(500, 300, ImagePosition::CENTER);
else
- setDefaultSize(380, 300, ImageRect::CENTER);
+ setDefaultSize(380, 300, ImagePosition::CENTER);
if (setupWindow)
setupWindow->registerWindowForReset(this);