summaryrefslogtreecommitdiff
path: root/src/gui/windows/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 12:50:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commite4d34f9e3f5b2068be1a8137c75a571e9da42cda (patch)
tree97d0e13dd2f163e9ce91576b29eec8563899097c /src/gui/windows/inventorywindow.cpp
parentecc414fed44c8b0ee63c0acf188a109e3867a815 (diff)
downloadmanaverse-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.gz
manaverse-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.bz2
manaverse-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.tar.xz
manaverse-e4d34f9e3f5b2068be1a8137c75a571e9da42cda.zip
move virtual member calls from textpopup constructor into postInit.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r--src/gui/windows/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 4be320617..bc803d0d3 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -130,6 +130,8 @@ InventoryWindow::InventoryWindow(Inventory *const inventory):
mSplit(false),
mCompactMode(false)
{
+ mTextPopup->postInit();
+
if (inventory)
{
setCaption(gettext(inventory->getName().c_str()));