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)
} }
} }
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))

2
src/qt/addressbookpage.h

@ -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);

Loading…
Cancel
Save