Remove direct bitcoin calls from qt/bantablemodel.cpp

This commit is contained in:
Russell Yanofsky
2017-04-17 16:02:44 -04:00
committed by John Newbery
parent e0b66a3b7c
commit 3034a462a5
5 changed files with 26 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ ClientModel::ClientModel(interface::Node& node, OptionsModel *_optionsModel, QOb
cachedBestHeaderHeight = -1;
cachedBestHeaderTime = -1;
peerTableModel = new PeerTableModel(m_node, this);
banTableModel = new BanTableModel(this);
banTableModel = new BanTableModel(m_node, this);
pollTimer = new QTimer(this);
connect(pollTimer, SIGNAL(timeout()), this, SLOT(updateTimer()));
pollTimer->start(MODEL_UPDATE_DELAY);