From 974eff0d1607d9f2648ecd9fbb3abfd53aa6bec4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Aug 2014 15:08:45 +0300 Subject: Create public variable for itempopup. --- src/gui/popups/itempopup.cpp | 2 ++ src/gui/popups/itempopup.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/gui/popups') 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 -- cgit v1.2.3-70-g09d2