summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-08 18:01:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-08 18:01:40 +0300
commit6303e605ef23003aabace85cde3f04574f1fb05c (patch)
tree6c9477f7314e4d371081473d7b96503b47573dea /src/gui/windows/chatwindow.h
parent568cd6279a753b1f04afb08a9193ab0873bf8e53 (diff)
downloadmanaverse-6303e605ef23003aabace85cde3f04574f1fb05c.tar.gz
manaverse-6303e605ef23003aabace85cde3f04574f1fb05c.tar.bz2
manaverse-6303e605ef23003aabace85cde3f04574f1fb05c.tar.xz
manaverse-6303e605ef23003aabace85cde3f04574f1fb05c.zip
In whisper constructor allow separatly set nick and caption.
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index a2b1781bf..a6bf15384 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -194,7 +194,8 @@ class ChatWindow final : public Window,
const std::string &restrict mes,
const ChatMsgType::Type own = ChatMsgType::BY_OTHER);
- WhisperTab *addWhisperTab(const std::string &nick,
+ WhisperTab *addWhisperTab(const std::string &caption,
+ const std::string &nick,
const bool switchTo = false) A_WARN_UNUSED;
WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED;