Bitcoin-Qt: comment out unused parameter in addressbookpage

This commit is contained in:
Philip Kaufmann 2012-12-15 11:15:19 +01:00
parent da8c5c9f4e
commit a8fbbd8fb0
2 changed files with 2 additions and 2 deletions

View file

@ -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)); QModelIndex idx = proxyModel->mapFromSource(model->index(begin, AddressTableModel::Address, parent));
if(idx.isValid() && (idx.data(Qt::EditRole).toString() == newAddressToSelect)) if(idx.isValid() && (idx.data(Qt::EditRole).toString() == newAddressToSelect))

View file

@ -75,7 +75,7 @@ private slots:
void onEditAction(); void onEditAction();
/** New entry/entries were added to address table */ /** 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: signals:
void signMessage(QString addr); void signMessage(QString addr);