summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 825615dc7..995db35eb 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -24,7 +24,6 @@
#include "configuration.h"
#include "game.h"
-#include "units.h"
#include "being/localplayer.h"
#include "being/playerinfo.h"
@@ -50,6 +49,8 @@
#include "gui/widgets/tabs/chat/chattab.h"
+#include "resources/db/unitsdb.h"
+
#include "resources/item/item.h"
#include "net/serverfeatures.h"
@@ -191,7 +192,7 @@ void TradeWindow::setMoney(const int amount)
mGotMoney = amount;
// TRANSLATORS: trade window money label
mMoneyLabel->setCaption(strprintf(_("You get %s"),
- Units::formatCurrency(amount).c_str()));
+ UnitsDb::formatCurrency(amount).c_str()));
mMoneyLabel->adjustSize();
}