diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:50:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 17:52:25 +0300 |
commit | afa7cdd59fe9a80479812eaad73a1eeea58bd5de (patch) | |
tree | 6d3371a66ee823bf116a4780439cfb4906959115 /src/gui/windows/chatwindow.h | |
parent | 0381a0de69cc21c8886fb0a68cda450d3135d55a (diff) | |
download | manaverse-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.gz manaverse-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.bz2 manaverse-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.tar.xz manaverse-afa7cdd59fe9a80479812eaad73a1eeea58bd5de.zip |
By requesting open #trade channel, really open trade tab.
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r-- | src/gui/windows/chatwindow.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index d0af5a74c..1da6c6016 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -202,8 +202,11 @@ class ChatWindow final : public Window, WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED; - ChannelTab *addChannelTab(const std::string &name, - const bool switchTo = false); + ChatTab *addChannelTab(const std::string &name, + const bool switchTo = false); + + ChatTab *addSpecialChannelTab(const std::string &name, + const bool switchTo = false); ChatTab *addChatTab(const std::string &name, const bool switchTo, |