summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 16:02:56 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 16:02:56 +0300
commit29402e0b1833dfc19fb646e2b7541a401ff9ffe8 (patch)
tree0efb1c18579a1531b968887085b0308f5f93ed9c /src/gui/popups
parent28072bc9da91582e5a0caec64fba880f51e5d639 (diff)
downloadmanaverse-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.gz
manaverse-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.bz2
manaverse-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.tar.xz
manaverse-29402e0b1833dfc19fb646e2b7541a401ff9ffe8.zip
Create public variable for spellpopup.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/spellpopup.cpp2
-rw-r--r--src/gui/popups/spellpopup.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/spellpopup.cpp b/src/gui/popups/spellpopup.cpp
index e8bfee72d..eb82a637d 100644
--- a/src/gui/popups/spellpopup.cpp
+++ b/src/gui/popups/spellpopup.cpp
@@ -31,6 +31,8 @@
#include "debug.h"
+SpellPopup *spellPopup = nullptr;
+
SpellPopup::SpellPopup() :
Popup("SpellPopup", "spellpopup.xml"),
mItemName(new Label(this)),
diff --git a/src/gui/popups/spellpopup.h b/src/gui/popups/spellpopup.h
index 0352161fc..7db1dcf2b 100644
--- a/src/gui/popups/spellpopup.h
+++ b/src/gui/popups/spellpopup.h
@@ -67,4 +67,6 @@ class SpellPopup final : public Popup
Label *mItemComment;
};
+extern SpellPopup *spellPopup;
+
#endif // GUI_POPUPS_SPELLPOPUP_H