#include <QLocale>
#include <QDebug>
-#include "util.h"
-#include "base58.h"
-
SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) :
QDialog(parent),
ui(new Ui::SendCoinsDialog),
QString label;
qint64 payAmountParsed;
- valid = ParseMoney(payAmount.toStdString(), payAmountParsed);
+ valid = GUIUtil::parseMoney(payAmount, &payAmountParsed);
if(!valid)
{
case ClientModel::AmountWithFeeExceedsBalance:
QMessageBox::warning(this, tr("Send Coins"),
tr("Total exceeds your balance when the %1 transaction fee is included").
- arg(QString::fromStdString(FormatMoney(model->getOptionsModel()->getTransactionFee()))),
+ arg(GUIUtil::formatMoney(model->getOptionsModel()->getTransactionFee())),
QMessageBox::Ok, QMessageBox::Ok);
ui->payAmount->setFocus();
break;