updated to reflect pull-request suggestions / renamed some GUI elements

This commit is contained in:
Philip Kaufmann
2012-04-11 23:05:22 +02:00
parent 9e0dba8c17
commit 1e8c62b29c
4 changed files with 22 additions and 28 deletions

View File

@@ -312,11 +312,9 @@ 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 >>").arg(address);
QString address = index.data().toString(), label = index.sibling(index.row(), 0).data(Qt::EditRole).toString();
QRCodeDialog *dialog = new QRCodeDialog(title, address, label, tab == ReceivingTab, this);
QRCodeDialog *dialog = new QRCodeDialog(address, label, tab == ReceivingTab, this);
dialog->show();
}
#endif