Skip to content

Commit

Permalink
qt, refactor: Drop no longer used PeerTableModel::getNodeStats function
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Dec 30, 2020
1 parent 49c6040 commit b3e9bca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/qt/peertablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/qt/peertablemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b3e9bca

Please sign in to comment.