summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-14 12:48:59 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-14 12:48:59 +0000
commit1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb (patch)
tree4289eb20d77c7975fef9f64898b8cdd4d3318193 /src/gui/trade.cpp
parentf048a4dd4add4a710bb15f77eaedad93f625b0c4 (diff)
downloadmana-client-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.gz
mana-client-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.bz2
mana-client-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.tar.xz
mana-client-1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb.zip
Removed obsolete code. Added support for money received while trading.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 78204120..cf3ad1a5 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -131,7 +131,7 @@ TradeWindow::~TradeWindow()
{
}
-void TradeWindow::addMoney(int amount)
+void TradeWindow::setMoney(int amount)
{
mMoneyLabel->setCaption("You get: " + toString(amount) + "z");
mMoneyLabel->adjustSize();