diff options
author | Jon Atack <jon@atack.com> | 2021-01-09 20:10:12 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-02-06 22:59:54 +0100 |
commit | 151888383a772fd5be626b6ed25af183f0395a41 (patch) | |
tree | b808825bda17521705c62c042927741cd8b7faab /src/qt/peertablemodel.h | |
parent | 6fc72bd6f030c8b49e8b9f68188413766a239d73 (diff) |
gui: add "Type" column to Peers main window
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r-- | src/qt/peertablemodel.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h index 7bff239507..0823235ec0 100644 --- a/src/qt/peertablemodel.h +++ b/src/qt/peertablemodel.h @@ -59,12 +59,13 @@ public: enum ColumnIndex { NetNodeId = 0, - Address = 1, - Network = 2, - Ping = 3, - Sent = 4, - Received = 5, - Subversion = 6 + Address, + ConnectionType, + Network, + Ping, + Sent, + Received, + Subversion }; enum { @@ -87,7 +88,7 @@ public Q_SLOTS: private: interfaces::Node& m_node; - const QStringList columns{tr("Peer Id"), tr("Address"), tr("Network"), tr("Ping"), tr("Sent"), tr("Received"), tr("User Agent")}; + const QStringList columns{tr("Peer Id"), tr("Address"), tr("Type"), tr("Network"), tr("Ping"), tr("Sent"), tr("Received"), tr("User Agent")}; std::unique_ptr<PeerTablePriv> priv; QTimer *timer; }; |