summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabs/chat/partytab.cpp2
-rw-r--r--src/net/ea/partyhandler.cpp2
-rw-r--r--src/net/ea/partyhandler.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/chat/partytab.cpp b/src/gui/widgets/tabs/chat/partytab.cpp
index 88357aa6a..23c3a7bff 100644
--- a/src/gui/widgets/tabs/chat/partytab.cpp
+++ b/src/gui/widgets/tabs/chat/partytab.cpp
@@ -39,6 +39,8 @@
#include "debug.h"
+PartyTab *partyTab = nullptr;
+
PartyTab::PartyTab(const Widget2 *const widget) :
// TRANSLATORS: party chat tab name
ChatTab(widget, _("Party"), "")
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index bc72a0043..425ba7793 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -41,8 +41,6 @@
#include "debug.h"
-PartyTab *partyTab = nullptr;
-
namespace Ea
{
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h
index b595891c4..e18e8551a 100644
--- a/src/net/ea/partyhandler.h
+++ b/src/net/ea/partyhandler.h
@@ -85,6 +85,4 @@ extern Party *taParty;
} // namespace Ea
-extern PartyTab *partyTab;
-
#endif // NET_EA_PARTYHANDLER_H