WalletManager: displayAmount should be static

This commit is contained in:
xiphon
2020-07-14 15:44:13 +00:00
parent b7b1221221
commit 2fd3974194
4 changed files with 7 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ void QrCodeScanner::processCode(int type, const QString &data)
emit notifyError(error, true);
}
qDebug() << "Parsed URI : " << address << " " << payment_id << " " << amount << " " << tx_description << " " << recipient_name << " " << error;
QString s_amount = WalletManager::instance()->displayAmount(amount);
QString s_amount = WalletManager::displayAmount(amount);
qDebug() << "Amount passed " << s_amount ;
emit decoded(address, payment_id, s_amount, tx_description, recipient_name, parsed_unknown_parameters);
}