aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addressbookpage.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2012-04-11 23:05:22 +0200
committerPhilip Kaufmann <[email protected]>2012-04-12 20:34:05 +0200
commit1e8c62b29cc0bee5f8da4aa10720fddf0a1cbdfe (patch)
tree0deb42a817a88930b988264ad4381a830521e918 /src/qt/addressbookpage.cpp
parentfixed amount part of URI in QR-Codes / removed (no label) string if we have N... (diff)
downloaddiscoin-1e8c62b29cc0bee5f8da4aa10720fddf0a1cbdfe.tar.xz
discoin-1e8c62b29cc0bee5f8da4aa10720fddf0a1cbdfe.zip
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 f9cca13a1..3e55c39e0 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