Browse Source

Bitcoin-Qt: comment out unused parameter in addressbookpage

0.8
Philip Kaufmann 12 years ago
parent
commit
a8fbbd8fb0
  1. 2
      src/qt/addressbookpage.cpp
  2. 2
      src/qt/addressbookpage.h

2
src/qt/addressbookpage.cpp

@ -361,7 +361,7 @@ void AddressBookPage::contextualMenu(const QPoint &point) @@ -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))

2
src/qt/addressbookpage.h

@ -75,7 +75,7 @@ private slots: @@ -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);

Loading…
Cancel
Save