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