aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletcontroller.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-22 22:27:45 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-09 22:17:36 +0300
commitf6991cb906e9dad7ff76a51e2b654f798d5c2ba6 (patch)
treedf702e2ff268192ac542d01ce626d086b735df6f /src/qt/walletcontroller.h
parent4a024fc310f136ce62c733fb1174b3a80ea25d0a (diff)
qt, wallet: Add LoadWalletsActivity class
Also this commit moves wallets loading out from the main GUI thread.
Diffstat (limited to 'src/qt/walletcontroller.h')
-rw-r--r--src/qt/walletcontroller.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qt/walletcontroller.h b/src/qt/walletcontroller.h
index 0143986695..772f2b51c0 100644
--- a/src/qt/walletcontroller.h
+++ b/src/qt/walletcontroller.h
@@ -148,4 +148,14 @@ private:
void finish();
};
+class LoadWalletsActivity : public WalletControllerActivity
+{
+ Q_OBJECT
+
+public:
+ LoadWalletsActivity(WalletController* wallet_controller, QWidget* parent_widget);
+
+ void load();
+};
+
#endif // BITCOIN_QT_WALLETCONTROLLER_H