mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
qt, refactor: Drop no longer used PeerTableModel::getNodeStats function
This commit is contained in:
@@ -221,11 +221,6 @@ QModelIndex PeerTableModel::index(int row, int column, const QModelIndex &parent
|
||||
return QModelIndex();
|
||||
}
|
||||
|
||||
const CNodeCombinedStats *PeerTableModel::getNodeStats(int idx)
|
||||
{
|
||||
return priv->index(idx);
|
||||
}
|
||||
|
||||
void PeerTableModel::refresh()
|
||||
{
|
||||
Q_EMIT layoutAboutToBeChanged();
|
||||
|
||||
@@ -53,7 +53,6 @@ class PeerTableModel : public QAbstractTableModel
|
||||
public:
|
||||
explicit PeerTableModel(interfaces::Node& node, QObject* parent);
|
||||
~PeerTableModel();
|
||||
const CNodeCombinedStats *getNodeStats(int idx);
|
||||
int getRowByNodeId(NodeId nodeid);
|
||||
void startAutoRefresh();
|
||||
void stopAutoRefresh();
|
||||
|
||||
Reference in New Issue
Block a user