mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
qt, wallet: Move activity progress dialog from data member to local
This commit is contained in:
@@ -90,7 +90,7 @@ class WalletControllerActivity : public QObject
|
||||
|
||||
public:
|
||||
WalletControllerActivity(WalletController* wallet_controller, QWidget* parent_widget);
|
||||
virtual ~WalletControllerActivity();
|
||||
virtual ~WalletControllerActivity() = default;
|
||||
|
||||
Q_SIGNALS:
|
||||
void finished();
|
||||
@@ -100,11 +100,9 @@ protected:
|
||||
QObject* worker() const { return m_wallet_controller->m_activity_worker; }
|
||||
|
||||
void showProgressDialog(const QString& label_text);
|
||||
void destroyProgressDialog();
|
||||
|
||||
WalletController* const m_wallet_controller;
|
||||
QWidget* const m_parent_widget;
|
||||
QProgressDialog* m_progress_dialog{nullptr};
|
||||
WalletModel* m_wallet_model{nullptr};
|
||||
bilingual_str m_error_message;
|
||||
std::vector<bilingual_str> m_warning_message;
|
||||
|
||||
Reference in New Issue
Block a user