diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-10-12 22:26:47 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-10-14 10:53:33 +0100 |
commit | a8f5026d6d992fd8d72908c848c5028f0f9a8cd1 (patch) | |
tree | c14f5fdd114c4782091cb487f238032eac403e75 /src/qt/walletmodel.h | |
parent | 561a7d30478b82f5d46dcf0f16e864a9608004f4 (diff) |
gui: Fix start timer from non QThread
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r-- | src/qt/walletmodel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 54428aec08..a1bdba8222 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -255,8 +255,6 @@ private: EncryptionStatus cachedEncryptionStatus; int cachedNumBlocks; - QTimer *pollTimer; - void subscribeToCoreSignals(); void unsubscribeFromCoreSignals(); void checkBalanceChanged(const interfaces::WalletBalances& new_balances); @@ -292,6 +290,9 @@ Q_SIGNALS: void canGetAddressesChanged(); public Q_SLOTS: + /* Starts a timer to periodically update the balance */ + void startPollBalance(); + /* Wallet status might have changed */ void updateStatus(); /* New transaction, or transaction changed status */ |