summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/battletab.cpp2
-rw-r--r--src/gui/widgets/tabs/chattab.cpp3
-rw-r--r--src/gui/widgets/tabs/gmtab.cpp2
-rw-r--r--src/gui/widgets/tabs/langtab.cpp2
-rw-r--r--src/gui/widgets/tabs/tradetab.cpp2
5 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/battletab.cpp b/src/gui/widgets/tabs/battletab.cpp
index 9d29c198e..176a24151 100644
--- a/src/gui/widgets/tabs/battletab.cpp
+++ b/src/gui/widgets/tabs/battletab.cpp
@@ -29,6 +29,8 @@
#include "debug.h"
+BattleTab *battleChatTab = nullptr;
+
BattleTab::BattleTab(const Widget2 *const widget) :
// TRANSLATORS: battle chat tab name
ChatTab(widget, _("Battle"), "")
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp
index 4f81d2aa7..893149a98 100644
--- a/src/gui/widgets/tabs/chattab.cpp
+++ b/src/gui/widgets/tabs/chattab.cpp
@@ -55,6 +55,9 @@
#include "debug.h"
+ChatTab *localChatTab = nullptr;
+ChatTab *debugChatTab = nullptr;
+
static const unsigned int MAX_WORD_SIZE = 50;
ChatTab::ChatTab(const Widget2 *const widget,
diff --git a/src/gui/widgets/tabs/gmtab.cpp b/src/gui/widgets/tabs/gmtab.cpp
index 7b6e1e07c..a4a4a9022 100644
--- a/src/gui/widgets/tabs/gmtab.cpp
+++ b/src/gui/widgets/tabs/gmtab.cpp
@@ -26,6 +26,8 @@
#include "debug.h"
+GmTab *gmChatTab = nullptr;
+
GmTab::GmTab(const Widget2 *const widget) :
// TRANSLATORS: gb tab name
ChatTab(widget, _("GM"), "")
diff --git a/src/gui/widgets/tabs/langtab.cpp b/src/gui/widgets/tabs/langtab.cpp
index f5064be8c..1dc5cea09 100644
--- a/src/gui/widgets/tabs/langtab.cpp
+++ b/src/gui/widgets/tabs/langtab.cpp
@@ -26,6 +26,8 @@
#include "debug.h"
+LangTab *langChatTab = nullptr;
+
LangTab::LangTab(const Widget2 *const widget,
const std::string &lang) :
// TRANSLATORS: lang chat tab name
diff --git a/src/gui/widgets/tabs/tradetab.cpp b/src/gui/widgets/tabs/tradetab.cpp
index 12fa0d3a5..1642f8804 100644
--- a/src/gui/widgets/tabs/tradetab.cpp
+++ b/src/gui/widgets/tabs/tradetab.cpp
@@ -30,6 +30,8 @@
#include "debug.h"
+TradeTab *tradeChatTab = nullptr;
+
TradeTab::TradeTab(const Widget2 *const widget) :
// TRANSLATORS: trade chat tab name
ChatTab(widget, _("Trade"), TRADE_CHANNEL)