summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.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/equipmentwindow.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/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index c8a8da5ab..14fc93f40 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -811,7 +811,7 @@ void EquipmentWindow::recalcSize()
mMaxY += mMinY;
mTabs->setWidth(mMaxX);
mMaxY += mUnequip->getHeight() - mYPadding;
- setDefaultSize(mMaxX, mMaxY, ImageRect::CENTER);
+ setDefaultSize(mMaxX, mMaxY, ImagePosition::CENTER);
}
int EquipmentWindow::addPage(const std::string &name)