summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
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);