aboutsummaryrefslogtreecommitdiff
path: root/src/qt/askpassphrasedialog.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-16 11:58:38 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-12-16 11:58:38 +0000
commit69eacf2c5ee1c84e92153b525fd4302aec0f5f2a (patch)
treef1a25ddea4c76c5c8663cfe7805fdef39371e832 /src/qt/askpassphrasedialog.h
parent5055d07edf4625d23c36d548d3598d7b578c05fb (diff)
clang-tidy, qt: Fix `modernize-use-default-member-init` in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
Diffstat (limited to 'src/qt/askpassphrasedialog.h')
-rw-r--r--src/qt/askpassphrasedialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/askpassphrasedialog.h b/src/qt/askpassphrasedialog.h
index 66031b08d3..370ea1de7e 100644
--- a/src/qt/askpassphrasedialog.h
+++ b/src/qt/askpassphrasedialog.h
@@ -38,8 +38,8 @@ public:
private:
Ui::AskPassphraseDialog *ui;
Mode mode;
- WalletModel *model;
- bool fCapsLock;
+ WalletModel* model{nullptr};
+ bool fCapsLock{false};
SecureString* m_passphrase_out;
private Q_SLOTS: