summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 15:08:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 15:08:45 +0300
commit974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4 (patch)
treedfa587db88f559b404f509ac474dd633ef45449d /src/gui/popups
parent294f449c2f2819971ce9528c9557fc3be8cd4ed1 (diff)
downloadmanaplus-974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4.tar.gz
manaplus-974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4.tar.bz2
manaplus-974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4.tar.xz
manaplus-974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4.zip
Create public variable for itempopup.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/itempopup.cpp2
-rw-r--r--src/gui/popups/itempopup.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index 36f971849..797520c7b 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -45,6 +45,8 @@
extern int serverVersion;
+ItemPopup *itemPopup = nullptr;
+
ItemPopup::ItemPopup() :
Popup("ItemPopup", "itempopup.xml"),
mItemName(new Label(this)),
diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h
index aa40181f4..05b024c57 100644
--- a/src/gui/popups/itempopup.h
+++ b/src/gui/popups/itempopup.h
@@ -78,4 +78,6 @@ class ItemPopup final : public Popup
void setLabelColor(Label *label, const ItemType::Type type) const;
};
+extern ItemPopup *itemPopup;
+
#endif // GUI_POPUPS_ITEMPOPUP_H