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.
This commit is contained in:
251 2018-01-04 20:57:22 +01:00
parent ddff3447f2
commit 8a93543419
1 changed files with 1 additions and 1 deletions

View File

@ -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>");