summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 13:47:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 13:47:55 +0300
commitd0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42 (patch)
tree578d99ea41b1eeea6068500fe0bea485bbcbccb5 /src/gui/popups
parent2cb9f5c3d47077a459fabf15800b1c45cfdacb3a (diff)
downloadmv-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.gz
mv-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.bz2
mv-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.tar.xz
mv-d0d0ddfeb0bd6cb199e3ac571c876d6bbaaf4b42.zip
Create public variable for beingpopup.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/beingpopup.cpp2
-rw-r--r--src/gui/popups/beingpopup.h2
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