From e64f2320f68c762b6822a5b616d5f3d4906c94f0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 May 2013 22:16:21 +0300 Subject: Improve tradewindow. --- src/gui/tradewindow.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/tradewindow.h') diff --git a/src/gui/tradewindow.h b/src/gui/tradewindow.h index ebf0cf6b2..eb5a2369b 100644 --- a/src/gui/tradewindow.h +++ b/src/gui/tradewindow.h @@ -92,7 +92,8 @@ class TradeWindow final : public Window, /** * Increase quantity of an item. */ - void increaseQuantity(int index, bool own, int quantity) const; + void increaseQuantity(const int index, const bool own, + const int quantity) const; /** * Player received ok message from server @@ -120,7 +121,7 @@ class TradeWindow final : public Window, * Closes the Trade Window, as well as telling the server that the * window has been closed. */ - void close(); + void close() override; /** * Clear auto trade items. @@ -135,7 +136,7 @@ class TradeWindow final : public Window, void addAutoMoney(const std::string &nick, const int money); - void initTrade(std::string nick); + void initTrade(const std::string &nick); std::string getAutoTradeNick() const A_WARN_UNUSED { return mAutoAddToNick; } -- cgit v1.2.3-60-g2f50