diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-02-03 14:48:27 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2020-02-03 14:48:40 +0000 |
commit | ff59bcd3213ef61f2167c0aa60fcaf5afbc20c61 (patch) | |
tree | 803ccdd58ab6944dd5db977a1a7c1ed8e7e90218 /src/qt/peertablemodel.cpp | |
parent | 651e34388832149402fea0d26f3dc13bbe197f5a (diff) |
gui: Drop PeerTableModel dependency to ClientModel
Diffstat (limited to 'src/qt/peertablemodel.cpp')
-rw-r--r-- | src/qt/peertablemodel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp index 631c66e745..a497f58b16 100644 --- a/src/qt/peertablemodel.cpp +++ b/src/qt/peertablemodel.cpp @@ -4,7 +4,6 @@ #include <qt/peertablemodel.h> -#include <qt/clientmodel.h> #include <qt/guiconstants.h> #include <qt/guiutil.h> @@ -100,10 +99,9 @@ public: } }; -PeerTableModel::PeerTableModel(interfaces::Node& node, ClientModel *parent) : +PeerTableModel::PeerTableModel(interfaces::Node& node, QObject* parent) : QAbstractTableModel(parent), m_node(node), - clientModel(parent), timer(nullptr) { columns << tr("NodeId") << tr("Node/Service") << tr("Ping") << tr("Sent") << tr("Received") << tr("User Agent"); |