aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author251 <[email protected]>2018-01-04 20:57:22 +0100
committer251 <[email protected]>2018-01-04 20:57:22 +0100
commit8a93543419300bd78e189429e003c8b17c1b983a (patch)
treee5883a04148e4bf029ded4b0a66fcd2ae086303b /src
parentMerge #11997: [tests] util_tests.cpp: actually check ignored args (diff)
downloaddiscoin-8a93543419300bd78e189429e003c8b17c1b983a.tar.xz
discoin-8a93543419300bd78e189429e003c8b17c1b983a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/qt/sendcoinsdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 56b62f97f..9fd61db70 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("<span style='font-size:10pt;font-weight:normal;'><br />(=%2)</span>")
+ questionString.append(QString("<span style='font-size:10pt;font-weight:normal;'><br />(=%1)</span>")
.arg(alternativeUnits.join(" " + tr("or") + "<br />")));
questionString.append("<hr /><span>");