mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
GUI: Receive: Eliminate URI, and make QR code of just the address
This commit is contained in:
parent
273aa76f85
commit
82dfd3ff1a
1 changed files with 1 additions and 3 deletions
|
|
@ -131,13 +131,11 @@ void ReceiveRequestDialog::update()
|
|||
target = info.address;
|
||||
setWindowTitle(tr("Request payment to %1").arg(target));
|
||||
|
||||
QString uri = GUIUtil::formatBitcoinURI(info);
|
||||
QString uri = info.address;
|
||||
ui->btnSaveAs->setEnabled(false);
|
||||
QString html;
|
||||
html += "<html><font face='verdana, arial, helvetica, sans-serif'>";
|
||||
html += "<b>"+tr("Payment information")+"</b><br>";
|
||||
html += "<b>"+tr("URI")+"</b>: ";
|
||||
html += "<a href=\""+uri+"\">" + GUIUtil::HtmlEscape(uri) + "</a><br>";
|
||||
html += "<b>"+tr("Address")+"</b>: " + GUIUtil::HtmlEscape(info.address) + "<br>";
|
||||
if(info.amount)
|
||||
html += "<b>"+tr("Amount")+"</b>: " + BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), info.amount) + "<br>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue