summaryrefslogtreecommitdiff
path: root/src/gui/windows/bankwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-31 18:57:07 +0300
commit5719a23f9b0729f04ed1fa5dc6cc680c58d514d4 (patch)
treed4fc1a73ea263a737e56d740a266bea34a1bbfcd /src/gui/windows/bankwindow.cpp
parent31e7a7d05f36495df0176fc31d5894e216c3cdf4 (diff)
downloadmanaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.gz
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.bz2
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.tar.xz
manaverse-5719a23f9b0729f04ed1fa5dc6cc680c58d514d4.zip
Move units into db directory.
Diffstat (limited to 'src/gui/windows/bankwindow.cpp')
-rw-r--r--src/gui/windows/bankwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/bankwindow.cpp b/src/gui/windows/bankwindow.cpp
index c55c11250..d6e33148c 100644
--- a/src/gui/windows/bankwindow.cpp
+++ b/src/gui/windows/bankwindow.cpp
@@ -20,8 +20,6 @@
#include "gui/windows/bankwindow.h"
-#include "units.h"
-
#include "net/bankhandler.h"
#include "gui/windows/setupwindow.h"
@@ -34,6 +32,8 @@
#include "utils/gettext.h"
#include "utils/stringutils.h"
+#include "resources/db/unitsdb.h"
+
#include "debug.h"
BankWindow *bankWindow = nullptr;
@@ -89,7 +89,7 @@ void BankWindow::bankMoneyChanged(const int money)
{
// TRANSLATORS: bank window money label
mBankMoneyLabel->setCaption(strprintf(_("Money in bank: %s"),
- Units::formatCurrency(money).c_str()));
+ UnitsDb::formatCurrency(money).c_str()));
}
void BankWindow::action(const ActionEvent &event)