aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bantablemodel.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-01-31 00:06:25 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-01-31 08:18:27 +0000
commit61eb058cc10592cfa314ba2209fb370706100e8b (patch)
tree0e117aaf9bd1d265320fdcaab016b18bec75b077 /src/qt/bantablemodel.h
parent1d1f8bbf57118e01904448108a104e20f50d2544 (diff)
gui: Drop BanTableModel dependency to ClientModel
Diffstat (limited to 'src/qt/bantablemodel.h')
-rw-r--r--src/qt/bantablemodel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/bantablemodel.h b/src/qt/bantablemodel.h
index 9dec5fa6a9..f01c506a1e 100644
--- a/src/qt/bantablemodel.h
+++ b/src/qt/bantablemodel.h
@@ -12,7 +12,6 @@
#include <QAbstractTableModel>
#include <QStringList>
-class ClientModel;
class BanTablePriv;
namespace interfaces {
@@ -45,7 +44,7 @@ class BanTableModel : public QAbstractTableModel
Q_OBJECT
public:
- explicit BanTableModel(interfaces::Node& node, ClientModel *parent = nullptr);
+ explicit BanTableModel(interfaces::Node& node, QObject* parent);
~BanTableModel();
void startAutoRefresh();
void stopAutoRefresh();
@@ -72,7 +71,6 @@ public Q_SLOTS:
private:
interfaces::Node& m_node;
- ClientModel *clientModel;
QStringList columns;
std::unique_ptr<BanTablePriv> priv;
};