diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:04:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-24 22:04:29 +0300 |
commit | 7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e (patch) | |
tree | 6b440c246a9ed2c3d915c98f6b090a45673a2fb7 /src/gui/widgets/tabs/chat/chattab.h | |
parent | 860d3e8e1bbe99b77763d533aebba9fde01e74c6 (diff) | |
download | manaverse-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.gz manaverse-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.bz2 manaverse-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.tar.xz manaverse-7ae8a11e0e99ab28730a8ca98388a6ec0ea1923e.zip |
Add strong typed bool type TryRemoveColors.
Diffstat (limited to 'src/gui/widgets/tabs/chat/chattab.h')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index 7af3920ef..6eee19b9d 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -27,6 +27,7 @@ #include "enums/simpletypes/ignorerecord.h" #include "enums/simpletypes/online.h" +#include "enums/simpletypes/tryremovecolors.h" #include "gui/widgets/browserbox.h" @@ -81,7 +82,8 @@ class ChatTab notfinal : public Tab void chatLog(std::string line, ChatMsgType::Type own = ChatMsgType::BY_SERVER, const IgnoreRecord ignoreRecord = IgnoreRecord_false, - const bool tryRemoveColors = true); + const TryRemoveColors tryRemoveColors + = TryRemoveColors_true); /** * Adds the text to the message list |