aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletcontroller.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-05-22 22:08:59 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-09 21:57:36 +0300
commitf9b633eeab6e9ee405bba37573aed9aa83c51ea5 (patch)
tree5025e0e957d900f5395b482d1ff7f45278aeb535 /src/qt/walletcontroller.h
parentd2dd1697cee9d6d0f13f9cb351bce84eaa4a72b4 (diff)
downloadbitcoin-f9b633eeab6e9ee405bba37573aed9aa83c51ea5.tar.xz
qt, wallet: Move activity progress dialog from data member to local
Diffstat (limited to 'src/qt/walletcontroller.h')
-rw-r--r--src/qt/walletcontroller.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/walletcontroller.h b/src/qt/walletcontroller.h
index f7e366878d..0143986695 100644
--- a/src/qt/walletcontroller.h
+++ b/src/qt/walletcontroller.h
@@ -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;