aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-12-15 11:15:19 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-12-15 11:15:19 +0100
commita8fbbd8fb0b29f3d852936e913a94d6d21baebd8 (patch)
treed565655bf34d89af10a0f8d6a039657935ffe70b
parentda8c5c9f4ebedfd50e6c31cee3ec0b1a25f930b7 (diff)
Bitcoin-Qt: comment out unused parameter in addressbookpage
-rw-r--r--src/qt/addressbookpage.cpp2
-rw-r--r--src/qt/addressbookpage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp
index e20358c70e..263fd52790 100644
--- a/src/qt/addressbookpage.cpp
+++ b/src/qt/addressbookpage.cpp
@@ -361,7 +361,7 @@ void AddressBookPage::contextualMenu(const QPoint &point)
}
}
-void AddressBookPage::selectNewAddress(const QModelIndex &parent, int begin, int end)
+void AddressBookPage::selectNewAddress(const QModelIndex &parent, int begin, int /*end*/)
{
QModelIndex idx = proxyModel->mapFromSource(model->index(begin, AddressTableModel::Address, parent));
if(idx.isValid() && (idx.data(Qt::EditRole).toString() == newAddressToSelect))
diff --git a/src/qt/addressbookpage.h b/src/qt/addressbookpage.h
index f7d177c513..6d3a734a16 100644
--- a/src/qt/addressbookpage.h
+++ b/src/qt/addressbookpage.h
@@ -75,7 +75,7 @@ private slots:
void onEditAction();
/** New entry/entries were added to address table */
- void selectNewAddress(const QModelIndex &parent, int begin, int end);
+ void selectNewAddress(const QModelIndex &parent, int begin, int /*end*/);
signals:
void signMessage(QString addr);