diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-02-22 09:55:10 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-27 22:34:02 +0300 |
commit | 1b66f6e556631a1a2d89aefba70a79894bd14fcd (patch) | |
tree | 04672becdedb25a8c087cf18a52edea2dd8e848c /src/qt/peertablemodel.h | |
parent | efb7e5aa962d4a4047061996bbb50b6da4592cbc (diff) | |
download | bitcoin-1b66f6e556631a1a2d89aefba70a79894bd14fcd.tar.xz |
qt: Drop PeerTablePriv class
This commit does not change behavior.
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r-- | src/qt/peertablemodel.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h index dc2802d4a9..0d841ebf28 100644 --- a/src/qt/peertablemodel.h +++ b/src/qt/peertablemodel.h @@ -8,10 +8,11 @@ #include <net_processing.h> // For CNodeStateStats #include <net.h> -#include <memory> - #include <QAbstractTableModel> +#include <QList> +#include <QModelIndex> #include <QStringList> +#include <QVariant> class PeerTablePriv; @@ -73,6 +74,8 @@ public Q_SLOTS: void refresh(); private: + //! Internal peer data structure. + QList<CNodeCombinedStats> m_peers_data{}; interfaces::Node& m_node; const QStringList columns{ /*: Title of Peers Table column which contains a @@ -99,7 +102,6 @@ private: /*: Title of Peers Table column which contains the peer's User Agent string. */ tr("User Agent")}; - std::unique_ptr<PeerTablePriv> priv; QTimer *timer; }; |