aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-02-22 09:52:02 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-07 16:58:11 +0200
commit9a9f180df0d51396fee2468681df6dd935b0248e (patch)
tree635435f3f33317ee60b5741975c4d753e270bcd1 /src/qt/peertablemodel.h
parent778a64af209e4fa692a3aca8376ba1bd5e1af881 (diff)
downloadbitcoin-9a9f180df0d51396fee2468681df6dd935b0248e.tar.xz
qt, refactor: Drop no longer used PeerTableModel::sort function
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r--src/qt/peertablemodel.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h
index 0823235ec0..ea3170c61c 100644
--- a/src/qt/peertablemodel.h
+++ b/src/qt/peertablemodel.h
@@ -30,18 +30,6 @@ struct CNodeCombinedStats {
};
Q_DECLARE_METATYPE(CNodeCombinedStats*)
-class NodeLessThan
-{
-public:
- NodeLessThan(int nColumn, Qt::SortOrder fOrder) :
- column(nColumn), order(fOrder) {}
- bool operator()(const CNodeCombinedStats &left, const CNodeCombinedStats &right) const;
-
-private:
- int column;
- Qt::SortOrder order;
-};
-
/**
Qt model providing information about connected peers, similar to the
"getpeerinfo" RPC call. Used by the rpc console UI.
@@ -80,7 +68,6 @@ public:
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
QModelIndex index(int row, int column, const QModelIndex &parent) const override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
- void sort(int column, Qt::SortOrder order) override;
/*@}*/
public Q_SLOTS: