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