summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-29 01:08:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-29 12:56:42 +0300
commit5f048b85f826a85278545ac363d7058793fb3ece (patch)
tree08065744c9dbe0bcc428955c5187df17b88a70e2 /src/gui/windows/statuswindow.cpp
parent7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680 (diff)
downloadplus-5f048b85f826a85278545ac363d7058793fb3ece.tar.gz
plus-5f048b85f826a85278545ac363d7058793fb3ece.tar.bz2
plus-5f048b85f826a85278545ac363d7058793fb3ece.tar.xz
plus-5f048b85f826a85278545ac363d7058793fb3ece.zip
Move variables definition into each file with class definition.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 00c5c5c2f..4a4c82cf6 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -60,6 +60,8 @@
#include "debug.h"
+StatusWindow *statusWindow = nullptr;
+
StatusWindow::StatusWindow() :
Window(player_node ? player_node->getName() :
"?", false, nullptr, "status.xml"),