summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/chattab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chattab.h b/src/gui/widgets/tabs/chattab.h
index 6f0f042b7..1cfdedbbf 100644
--- a/src/gui/widgets/tabs/chattab.h
+++ b/src/gui/widgets/tabs/chattab.h
@@ -33,6 +33,10 @@
class ScrollArea;
+#define debugMsg(str) \
+ if (debugChatTab) \
+ debugChatTab->chatLog(str);
+
/**
* A tab for the chat window. This is special to ease chat handling.
*/