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