summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:42:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff (patch)
tree05f4b7dd27d335d3d547f40dfbeded25bda1011e /src/gui/windows
parent7559ba2bf6cec8cfabae572436d80f55dacc9371 (diff)
downloadManaVerse-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.gz
ManaVerse-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.bz2
ManaVerse-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.xz
ManaVerse-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.zip
move virtual member calls from itempopup constuctor into postInit.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp1
-rw-r--r--src/gui/windows/itemamountwindow.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index 9b4082f7f..688fb814a 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -86,6 +86,7 @@ EquipmentWindow::EquipmentWindow(Equipment *const equipment,
mMaxX(0),
mMaxY(0)
{
+ mItemPopup->postInit();
if (setupWindow)
setupWindow->registerWindowForReset(this);
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp
index 0c0f0bfe2..6fd813183 100644
--- a/src/gui/windows/itemamountwindow.cpp
+++ b/src/gui/windows/itemamountwindow.cpp
@@ -155,6 +155,8 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent,
mPrice(0),
mEnabledKeyboard(keyboard.isEnabled())
{
+ mItemPopup->postInit();
+
if (!mItem)
return;