summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
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/widgets/itemshortcutcontainer.cpp
parent7559ba2bf6cec8cfabae572436d80f55dacc9371 (diff)
downloadplus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.gz
plus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.bz2
plus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.tar.xz
plus-9bffd0bf7ccdb24ab6f6f0e9dbc96b6b554bacff.zip
move virtual member calls from itempopup constuctor into postInit.
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 87ce28fe0..d85a1e73e 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -60,6 +60,8 @@ ItemShortcutContainer::ItemShortcutContainer(const unsigned number) :
mUnEquipedColor(getThemeColor(Theme::ITEM_NOT_EQUIPPED)),
mUnEquipedColor2(getThemeColor(Theme::ITEM_NOT_EQUIPPED_OUTLINE))
{
+ mItemPopup->postInit();
+
addMouseListener(this);
addWidgetListener(this);