summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/whispertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/whispertab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chat/whispertab.cpp b/src/gui/widgets/tabs/chat/whispertab.cpp
index 53712c6b2..5ca65f580 100644
--- a/src/gui/widgets/tabs/chat/whispertab.cpp
+++ b/src/gui/widgets/tabs/chat/whispertab.cpp
@@ -35,8 +35,9 @@
#include "debug.h"
WhisperTab::WhisperTab(const Widget2 *const widget,
+ const std::string &caption,
const std::string &nick) :
- ChatTab(widget, nick, nick, nick, ChatTabType::WHISPER),
+ ChatTab(widget, caption, nick, nick, ChatTabType::WHISPER),
mNick(nick)
{
setWhisperTabColors();