diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:11:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 01:11:50 +0300 |
commit | b42cc5c01d3bdd274d9b9e90aad574d865c4e67a (patch) | |
tree | a88981f53929b4608b6110fd266aebbc311ccbcc /src/gui/windows/chatwindow.cpp | |
parent | 2e07a7af24cf8a2928ab6a3431ab5b01b29969bb (diff) | |
download | plus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.gz plus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.bz2 plus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.tar.xz plus-b42cc5c01d3bdd274d9b9e90aad574d865c4e67a.zip |
Convert ChatMsgType enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 31b874032..f79f8b45d 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1037,7 +1037,7 @@ void ChatWindow::setVisible(Visible visible) void ChatWindow::addWhisper(const std::string &restrict nick, const std::string &restrict mes, - const ChatMsgType::Type own) + const ChatMsgTypeT own) { if (mes.empty() || !localPlayer) return; @@ -1512,7 +1512,7 @@ std::string ChatWindow::autoCompleteHistory(const std::string &partName) const } bool ChatWindow::resortChatLog(std::string line, - ChatMsgType::Type own, + ChatMsgTypeT own, const std::string &channel, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors) @@ -1677,7 +1677,7 @@ bool ChatWindow::resortChatLog(std::string line, return true; } -void ChatWindow::battleChatLog(const std::string &line, ChatMsgType::Type own, +void ChatWindow::battleChatLog(const std::string &line, ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors) { @@ -1691,7 +1691,7 @@ void ChatWindow::battleChatLog(const std::string &line, ChatMsgType::Type own, void ChatWindow::channelChatLog(const std::string &channel, const std::string &line, - ChatMsgType::Type own, + ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors) { |