diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:47:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-17 13:47:55 +0300 |
commit | d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42 (patch) | |
tree | 578d99ea41b1eeea6068500fe0bea485bbcbccb5 /src/gui/popups | |
parent | 2cb9f5c3d47077a459fabf15800b1c45cfdacb3a (diff) | |
download | ManaVerse-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.gz ManaVerse-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.bz2 ManaVerse-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.xz ManaVerse-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.zip |
Create public variable for beingpopup.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/beingpopup.cpp | 2 | ||||
-rw-r--r-- | src/gui/popups/beingpopup.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index b15ccc7ae..089e51ea0 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -35,6 +35,8 @@ #include "debug.h" +BeingPopup *beingPopup = nullptr; + BeingPopup::BeingPopup() : Popup("BeingPopup", "beingpopup.xml"), mBeingName(new Label(this, "A")), diff --git a/src/gui/popups/beingpopup.h b/src/gui/popups/beingpopup.h index 76789dbea..449d36bc3 100644 --- a/src/gui/popups/beingpopup.h +++ b/src/gui/popups/beingpopup.h @@ -64,4 +64,6 @@ class BeingPopup final : public Popup Label *mBeingComment; }; +extern BeingPopup *beingPopup; + #endif // GUI_POPUPS_BEINGPOPUP_H |