aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletcontroller.h
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-08-13 20:28:37 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-08-13 20:38:07 -0300
commit32db15450a9ef2a45de29b3b2ae60491a38edbd6 (patch)
tree7e49fc70a9ef1abbbb9f157505d9fa8a858e11c6 /src/qt/walletcontroller.h
parent3654d84c6f53e5137f9208851ff904c248b4741f (diff)
gui: make '-min' minimize wallet loading dialog
When '-min' is enabled, no loading dialog should be presented on screen during startup.
Diffstat (limited to 'src/qt/walletcontroller.h')
-rw-r--r--src/qt/walletcontroller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/walletcontroller.h b/src/qt/walletcontroller.h
index fcd65756c6..8ec0243890 100644
--- a/src/qt/walletcontroller.h
+++ b/src/qt/walletcontroller.h
@@ -100,7 +100,7 @@ protected:
interfaces::Node& node() const { return m_wallet_controller->m_node; }
QObject* worker() const { return m_wallet_controller->m_activity_worker; }
- void showProgressDialog(const QString& title_text, const QString& label_text);
+ void showProgressDialog(const QString& title_text, const QString& label_text, bool show_minimized=false);
WalletController* const m_wallet_controller;
QWidget* const m_parent_widget;
@@ -156,7 +156,7 @@ class LoadWalletsActivity : public WalletControllerActivity
public:
LoadWalletsActivity(WalletController* wallet_controller, QWidget* parent_widget);
- void load();
+ void load(bool show_loading_minimized);
};
class RestoreWalletActivity : public WalletControllerActivity