From 80b8d209216bbe5aa61f6b9b3ad5142197abf10c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Nov 2015 19:20:00 +0300 Subject: Use global skillPopup variable for show skill popups. --- src/gui/windowmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/windowmanager.cpp') 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); -- cgit v1.2.3-60-g2f50