diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-08 18:01:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-08 18:01:40 +0300 |
commit | 6303e605ef23003aabace85cde3f04574f1fb05c (patch) | |
tree | 6c9477f7314e4d371081473d7b96503b47573dea /src/gui/windows/chatwindow.h | |
parent | 568cd6279a753b1f04afb08a9193ab0873bf8e53 (diff) | |
download | plus-6303e605ef23003aabace85cde3f04574f1fb05c.tar.gz plus-6303e605ef23003aabace85cde3f04574f1fb05c.tar.bz2 plus-6303e605ef23003aabace85cde3f04574f1fb05c.tar.xz plus-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.h | 3 |
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; |