diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-01-04 18:49:48 +0000 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-01-18 00:34:51 +0000 |
commit | 0dd9bdefa1427746ae94b4dd3da1a5257c1ec68e (patch) | |
tree | 48534f63fed5f3a2d4441e6e8e492e67c6d32be5 /src/qt/bitcoin.h | |
parent | 8fa271f08969b440cbc4aeb760db41c556ecf9c5 (diff) |
gui: Refactor to use WalletController
Diffstat (limited to 'src/qt/bitcoin.h')
-rw-r--r-- | src/qt/bitcoin.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/qt/bitcoin.h b/src/qt/bitcoin.h index 48b5907570..5e61485559 100644 --- a/src/qt/bitcoin.h +++ b/src/qt/bitcoin.h @@ -19,6 +19,7 @@ class NetworkStyle; class OptionsModel; class PaymentServer; class PlatformStyle; +class WalletController; class WalletModel; namespace interfaces { @@ -93,8 +94,6 @@ public Q_SLOTS: void shutdownResult(); /// Handle runaway exceptions. Shows a message box with the problem and quits the program. void handleRunawayException(const QString &message); - void addWallet(WalletModel* walletModel); - void removeWallet(); Q_SIGNALS: void requestedInitialize(); @@ -111,9 +110,8 @@ private: BitcoinGUI *window; QTimer *pollShutdownTimer; #ifdef ENABLE_WALLET - PaymentServer* paymentServer; - std::vector<WalletModel*> m_wallet_models; - std::unique_ptr<interfaces::Handler> m_handler_load_wallet; + PaymentServer* paymentServer{nullptr}; + WalletController* m_wallet_controller{nullptr}; #endif int returnValue; const PlatformStyle *platformStyle; |