mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-17 10:59:27 +00:00
removed (no label) string if we have NO label
(partial of 9e0dba8c17eb6507083b4d7602541c25f1fd7f38)
This commit is contained in:
parent
06de079091
commit
760d9480ed
@ -308,8 +308,8 @@ void AddressBookPage::on_showQRCode_clicked()
|
||||
foreach (QModelIndex index, indexes)
|
||||
{
|
||||
QString address = index.data().toString(),
|
||||
label = index.sibling(index.row(), 0).data().toString(),
|
||||
title = QString("%1 << %2 >>").arg(label).arg(address);
|
||||
label = index.sibling(index.row(), 0).data(Qt::EditRole).toString(),
|
||||
title = QString("%1%2<< %3 >>").arg(label).arg(label.isEmpty() ? "" : " ").arg(address);
|
||||
|
||||
QRCodeDialog *d = new QRCodeDialog(title, address, label, tab == ReceivingTab, this);
|
||||
d->show();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user