summaryrefslogtreecommitdiff
path: root/src/gui/widgets/selldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/selldialog.cpp')
-rw-r--r--src/gui/widgets/selldialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/selldialog.cpp b/src/gui/widgets/selldialog.cpp
index 39584050d..7f96e14ff 100644
--- a/src/gui/widgets/selldialog.cpp
+++ b/src/gui/widgets/selldialog.cpp
@@ -22,8 +22,6 @@
#include "gui/widgets/selldialog.h"
-#include "units.h"
-
#include "enums/gui/layouttype.h"
#include "gui/windows/setupwindow.h"
@@ -43,6 +41,8 @@
#include "utils/gettext.h"
#include "utils/stringutils.h"
+#include "resources/db/unitsdb.h"
+
#include "resources/item/shopitem.h"
#include "debug.h"
@@ -358,8 +358,8 @@ void SellDialog::updateButtonsAndLabels()
{
// TRANSLATORS: sell dialog label
mMoneyLabel->setCaption(strprintf(_("Price: %s / Total: %s"),
- Units::formatCurrency(income).c_str(),
- Units::formatCurrency(mPlayerMoney + income).c_str()));
+ UnitsDb::formatCurrency(income).c_str(),
+ UnitsDb::formatCurrency(mPlayerMoney + income).c_str()));
}
if (item)
item->update();