From 8a93543419300bd78e189429e003c8b17c1b983a Mon Sep 17 00:00:00 2001 From: 251 <13120787+251Labs@users.noreply.github.com> Date: Thu, 4 Jan 2018 20:57:22 +0100 Subject: [PATCH] Replaces numbered place marker %2 with %1. Replaces numbered place marker %2 with %1, because the QString::arg() member function is called once on the string used to create the QString object. --- src/qt/sendcoinsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 56b62f97fb..9fd61db70e 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -336,7 +336,7 @@ void SendCoinsDialog::on_sendButton_clicked() } questionString.append(tr("Total Amount %1") .arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))); - questionString.append(QString("
(=%2)
") + questionString.append(QString("
(=%1)
") .arg(alternativeUnits.join(" " + tr("or") + "
"))); questionString.append("
");