diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-12-16 11:58:38 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-12-16 11:58:38 +0000 |
commit | 69eacf2c5ee1c84e92153b525fd4302aec0f5f2a (patch) | |
tree | f1a25ddea4c76c5c8663cfe7805fdef39371e832 /src/qt/sendcoinsdialog.h | |
parent | 5055d07edf4625d23c36d548d3598d7b578c05fb (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/sendcoinsdialog.h')
-rw-r--r-- | src/qt/sendcoinsdialog.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt/sendcoinsdialog.h b/src/qt/sendcoinsdialog.h index dcdf189532..d22020da9f 100644 --- a/src/qt/sendcoinsdialog.h +++ b/src/qt/sendcoinsdialog.h @@ -62,12 +62,12 @@ Q_SIGNALS: private: Ui::SendCoinsDialog *ui; - ClientModel *clientModel; - WalletModel *model; + ClientModel* clientModel{nullptr}; + WalletModel* model{nullptr}; std::unique_ptr<wallet::CCoinControl> m_coin_control; std::unique_ptr<WalletModelTransaction> m_current_transaction; - bool fNewRecipientAllowed; - bool fFeeMinimized; + bool fNewRecipientAllowed{true}; + bool fFeeMinimized{true}; const PlatformStyle *platformStyle; // Copy PSBT to clipboard and offer to save it. |