diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-17 16:02:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-17 16:02:56 +0300 |
commit | 29402e0b1833dfc19fb646e2b7541a401ff9ffe8 (patch) | |
tree | 0efb1c18579a1531b968887085b0308f5f93ed9c /src/gui/windowmanager.cpp | |
parent | 28072bc9da91582e5a0caec64fba880f51e5d639 (diff) | |
download | mv-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.gz mv-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.bz2 mv-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.xz mv-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.zip |
Create public variable for spellpopup.
Diffstat (limited to 'src/gui/windowmanager.cpp')
-rw-r--r-- | src/gui/windowmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp index 9b359f12a..de8f57a62 100644 --- a/src/gui/windowmanager.cpp +++ b/src/gui/windowmanager.cpp @@ -35,6 +35,7 @@ #include "gui/popups/beingpopup.h" #include "gui/popups/itempopup.h" #include "gui/popups/popupmenu.h" +#include "gui/popups/spellpopup.h" #include "gui/popups/textpopup.h" #include "gui/windows/didyouknowwindow.h" @@ -106,6 +107,8 @@ void WindowManager::createWindows() textPopup->postInit(); itemPopup = new ItemPopup; itemPopup->postInit(); + spellPopup = new SpellPopup; + spellPopup->postInit(); } void WindowManager::deleteWindows() @@ -113,6 +116,7 @@ void WindowManager::deleteWindows() delete2(textPopup); delete2(beingPopup); delete2(itemPopup); + delete2(spellPopup); delete2(popupMenu); delete2(commandHandler); delete2(didYouKnowWindow); |