ClientModel
is not used by BanTableModel
.
ClientModel
is not used by BanTableModel
.
Thanks for the cleanup.
utACK 8eec9c79890649044083c78c5f34019126aea561
5@@ -6,11 +6,10 @@
6
7 #include <interfaces/node.h>
8 #include <net_types.h> // For banmap_t
9-#include <qt/clientmodel.h>
10
11 #include <utility>
12
13-#include <QDebug>
14+#include <QDateTime>
<QVariant>
and <QModelIndex>
could also be added.
43@@ -45,7 +44,7 @@ class BanTableModel : public QAbstractTableModel
44 Q_OBJECT
45
46 public:
47- explicit BanTableModel(interfaces::Node& node, ClientModel *parent = nullptr);
48+ explicit BanTableModel(interfaces::Node& node, QObject* parent = nullptr);
nit: not allowing default parent seems safer w.r.t. Qt parent-child properties.
0 explicit BanTableModel(interfaces::Node& node, QObject* parent);
Labels
GUI