230 | - questionString.append(tr("Total Amount %1").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), currentTransaction.getTotalTransactionAmount()+txFee)));
231 | + if(u != model->getOptionsModel()->getDisplayUnit())
232 | + alternativeUnits.append(BitcoinUnits::formatWithUnit(u, totalAmount));
233 | }
234 | + questionString.append(tr("Total Amount %1 (= %2)")
235 | + .arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))
Nit: Can you use 4 space indentation for these?
Let's not argue about the amount of indentation...