diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-11 19:10:19 +0300 |
commit | ee1fc0b63cb7f27df85c43474497b805df6e31f5 (patch) | |
tree | d233f17e1bfd751b6939646a24f1253ae8d14796 /src/gui/windows/tradewindow.cpp | |
parent | a80f4ac5c1c3ef4d3ac5f026591b16074d0bf451 (diff) | |
download | manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.gz manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.bz2 manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.tar.xz manaverse-ee1fc0b63cb7f27df85c43474497b805df6e31f5.zip |
Remove default parameters from ChatTab::chatLog.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 66f4e0550..bd8ba020f 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -438,7 +438,9 @@ void TradeWindow::action(const ActionEvent &event) { // TRANSLATORS: trade error localChatTab->chatLog(_("You don't have enough money."), - ChatMsgType::BY_SERVER); + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } v = curMoney; } @@ -528,7 +530,9 @@ bool TradeWindow::checkItem(const Item *const item) const // TRANSLATORS: trade error localChatTab->chatLog(_("Failed adding item. You can not " "overlap one kind of item on the window."), - ChatMsgType::BY_SERVER); + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } return false; } @@ -540,7 +544,9 @@ bool TradeWindow::checkItem(const Item *const item) const localChatTab->chatLog( // TRANSLATORS: trade error _("Failed adding item. You can not trade equipped items."), - ChatMsgType::BY_SERVER); + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } return false; } |