summaryrefslogtreecommitdiff
path: root/src/gui/windowmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-13 19:20:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-13 19:20:00 +0300
commit80b8d209216bbe5aa61f6b9b3ad5142197abf10c (patch)
tree20f3517204843d3d10c7abbeef3c5489f9a31b85 /src/gui/windowmanager.cpp
parente0ffa76b8c20450a32c94ae9c96b58c5f7c0ccfa (diff)
downloadmanaplus-80b8d209216bbe5aa61f6b9b3ad5142197abf10c.tar.gz
manaplus-80b8d209216bbe5aa61f6b9b3ad5142197abf10c.tar.bz2
manaplus-80b8d209216bbe5aa61f6b9b3ad5142197abf10c.tar.xz
manaplus-80b8d209216bbe5aa61f6b9b3ad5142197abf10c.zip
Use global skillPopup variable for show skill popups.
Diffstat (limited to 'src/gui/windowmanager.cpp')
-rw-r--r--src/gui/windowmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 01cc2c670..72cc677e8 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -38,6 +38,7 @@
#include "gui/popups/beingpopup.h"
#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
+#include "gui/popups/skillpopup.h"
#include "gui/popups/spellpopup.h"
#include "gui/popups/textboxpopup.h"
@@ -107,6 +108,7 @@ void WindowManager::createWindows()
CREATEWIDGETV0(textBoxPopup, TextBoxPopup);
CREATEWIDGETV0(itemPopup, ItemPopup);
CREATEWIDGETV0(spellPopup, SpellPopup);
+ CREATEWIDGETV0(skillPopup, SkillPopup);
#endif
CREATEWIDGETV0(textPopup, TextPopup);
}
@@ -118,6 +120,7 @@ void WindowManager::deleteWindows()
delete2(beingPopup);
delete2(itemPopup);
delete2(spellPopup);
+ delete2(skillPopup);
delete2(popupMenu);
delete2(didYouKnowWindow);
delete2(helpWindow);