Reduce build warnings and enable Qt build
This commit is contained in:
@@ -254,14 +254,14 @@ QString TransactionDesc::toHTML(CWallet* wallet, CWalletTx& wtx, TransactionReco
|
||||
strHTML += "<b>" + tr("Output index") + ":</b> " + QString::number(rec->getOutputIndex()) + "<br>";
|
||||
|
||||
// Message from normal agrarian:URI (agrarian:XyZ...?message=example)
|
||||
foreach (const PAIRTYPE(string, string) & r, wtx.vOrderForm)
|
||||
for (const auto& r : wtx.vOrderForm)
|
||||
if (r.first == "Message")
|
||||
strHTML += "<br><b>" + tr("Message") + ":</b><br>" + GUIUtil::HtmlEscape(r.second, true) + "<br>";
|
||||
|
||||
//
|
||||
// PaymentRequest info:
|
||||
//
|
||||
foreach (const PAIRTYPE(string, string) & r, wtx.vOrderForm) {
|
||||
for (const auto& r : wtx.vOrderForm) {
|
||||
if (r.first == "PaymentRequest") {
|
||||
PaymentRequestPlus req;
|
||||
req.parse(QByteArray::fromRawData(r.second.data(), r.second.size()));
|
||||
|
||||
Reference in New Issue
Block a user