refactor: Nuke walletmodel circular dependency

pull/764/head
Hennadii Stepanov 5 years ago
parent 49c4211c04
commit a53e9895db
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -37,13 +37,16 @@
#endif #endif
#include <qt/sendcoinsrecipient.h> #include <qt/sendcoinsrecipient.h>
#include <qt/walletmodel.h>
#include <QObject> #include <QObject>
#include <QString> #include <QString>
class OptionsModel; class OptionsModel;
namespace interfaces {
class Node;
} // namespace interfaces
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QApplication; class QApplication;
class QByteArray; class QByteArray;

@ -15,11 +15,12 @@
#include <consensus/consensus.h> #include <consensus/consensus.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <interfaces/wallet.h>
#include <key_io.h> #include <key_io.h>
#include <validation.h> #include <policy/policy.h>
#include <script/script.h> #include <script/script.h>
#include <util/system.h> #include <util/system.h>
#include <policy/policy.h> #include <validation.h>
#include <wallet/ismine.h> #include <wallet/ismine.h>
#include <stdint.h> #include <stdint.h>

@ -18,7 +18,6 @@ EXPECTED_CIRCULAR_DEPENDENCIES=(
"qt/bitcoingui -> qt/walletframe -> qt/bitcoingui" "qt/bitcoingui -> qt/walletframe -> qt/bitcoingui"
"qt/bitcoingui -> qt/walletview -> qt/bitcoingui" "qt/bitcoingui -> qt/walletview -> qt/bitcoingui"
"qt/clientmodel -> qt/peertablemodel -> qt/clientmodel" "qt/clientmodel -> qt/peertablemodel -> qt/clientmodel"
"qt/paymentserver -> qt/walletmodel -> qt/paymentserver"
"qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel" "qt/recentrequeststablemodel -> qt/walletmodel -> qt/recentrequeststablemodel"
"qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog" "qt/sendcoinsdialog -> qt/walletmodel -> qt/sendcoinsdialog"
"qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel" "qt/transactiontablemodel -> qt/walletmodel -> qt/transactiontablemodel"

Loading…
Cancel
Save