diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-12-24 12:40:35 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-12-30 21:01:20 +0200 |
commit | b3e9bcaac85a64a1b41d534b28c8cfb1f08e14e5 (patch) | |
tree | d64db84424411ae258b46d12eaac740ea2b36fae | |
parent | 49c604077c572fcdea8739eb3383467dbbbc5f52 (diff) | |
download | bitcoin-b3e9bcaac85a64a1b41d534b28c8cfb1f08e14e5.tar.xz |
qt, refactor: Drop no longer used PeerTableModel::getNodeStats function
-rw-r--r-- | src/qt/peertablemodel.cpp | 5 | ||||
-rw-r--r-- | src/qt/peertablemodel.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp index 5321c3f076..9f41a2e308 100644 --- a/src/qt/peertablemodel.cpp +++ b/src/qt/peertablemodel.cpp @@ -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(); diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h index f70b7aeaa6..7bff239507 100644 --- a/src/qt/peertablemodel.h +++ b/src/qt/peertablemodel.h @@ -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(); |