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

View File

@ -336,7 +336,7 @@ void SendCoinsDialog::on_sendButton_clicked()
} }
questionString.append(tr("Total Amount %1") questionString.append(tr("Total Amount %1")
.arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))); .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 />"))); .arg(alternativeUnits.join(" " + tr("or") + "<br />")));
questionString.append("<hr /><span>"); questionString.append("<hr /><span>");