aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoinamountfield.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/bitcoinamountfield.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/bitcoinamountfield.h')
-rw-r--r--src/qt/bitcoinamountfield.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoinamountfield.h b/src/qt/bitcoinamountfield.h
index a40cd38332..f710915a49 100644
--- a/src/qt/bitcoinamountfield.h
+++ b/src/qt/bitcoinamountfield.h
@@ -74,7 +74,7 @@ protected:
bool eventFilter(QObject *object, QEvent *event) override;
private:
- AmountSpinBox *amount;
+ AmountSpinBox* amount{nullptr};
QValueComboBox *unit;
private Q_SLOTS: