From a75d6970443252a43d35b06bcb714db182f2efab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jul 2014 17:50:52 +0300 Subject: Move debugMsg from localplayer into chattab. --- src/gui/widgets/tabs/chattab.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui') 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. */ -- cgit v1.2.3-70-g09d2