diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-31 20:29:03 +0300 |
commit | 7d987d35caf7a90b7ed0ffc942297ddc68c3da07 (patch) | |
tree | 90213329fe89653f92cbcfc20f550265e57c481d /src/gui/windows/inventorywindow.cpp | |
parent | 8240be727f8d9ab3891dd750d67c68d5e9c38378 (diff) | |
download | plus-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/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 71c09d723..b5a006604 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -163,9 +163,9 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : setStickyButtonLock(true); if (mainGraphics->mWidth > 600) - setDefaultSize(450, 310, ImageRect::CENTER); + setDefaultSize(450, 310, ImagePosition::CENTER); else - setDefaultSize(387, 307, ImageRect::CENTER); + setDefaultSize(387, 307, ImagePosition::CENTER); setMinWidth(310); setMinHeight(179); addKeyListener(this); |