aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-04-11 23:05:22 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-04-12 20:34:05 +0200
commit1e8c62b29cc0bee5f8da4aa10720fddf0a1cbdfe (patch)
tree0deb42a817a88930b988264ad4381a830521e918 /src/qt/addressbookpage.cpp
parent9e0dba8c17eb6507083b4d7602541c25f1fd7f38 (diff)
updated to reflect pull-request suggestions / renamed some GUI elements
Diffstat (limited to 'src/qt/addressbookpage.cpp')
-rw-r--r--src/qt/addressbookpage.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp
index f9cca13a1a..3e55c39e04 100644
--- a/src/qt/addressbookpage.cpp
+++ b/src/qt/addressbookpage.cpp
@@ -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