summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 21:27:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 21:27:20 +0300
commitbd96450423276272e1cddf8be91cc63f860eb125 (patch)
tree7927e0857685e700d5d75678e371376fd592edb6 /src/gui/windows/equipmentwindow.cpp
parent773ef01f1490f0884836a9d08f75938eb8742c8e (diff)
downloadmv-bd96450423276272e1cddf8be91cc63f860eb125.tar.gz
mv-bd96450423276272e1cddf8be91cc63f860eb125.tar.bz2
mv-bd96450423276272e1cddf8be91cc63f860eb125.tar.xz
mv-bd96450423276272e1cddf8be91cc63f860eb125.zip
Call Window::postInit from all windows with overrided postInit method.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 80d8f8fbe..8843976e1 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -131,6 +131,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
void EquipmentWindow::postInit()
{
+ Window::postInit();
const Rect &area = getChildrenArea();
mUnequip->setPosition(area.width - mUnequip->getWidth() - mButtonPadding,
area.height - mUnequip->getHeight() - mButtonPadding);