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/modaloverlay.cpp | |
parent | 5055d07edf4625d23c36d548d3598d7b578c05fb (diff) | |
download | bitcoin-69eacf2c5ee1c84e92153b525fd4302aec0f5f2a.tar.xz |
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/modaloverlay.cpp')
-rw-r--r-- | src/qt/modaloverlay.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/qt/modaloverlay.cpp b/src/qt/modaloverlay.cpp index dfa33764f6..66f09fd947 100644 --- a/src/qt/modaloverlay.cpp +++ b/src/qt/modaloverlay.cpp @@ -12,13 +12,10 @@ #include <QPropertyAnimation> #include <QResizeEvent> -ModalOverlay::ModalOverlay(bool enable_wallet, QWidget *parent) : -QWidget(parent), -ui(new Ui::ModalOverlay), -bestHeaderHeight(0), -bestHeaderDate(QDateTime()), -layerIsVisible(false), -userClosed(false) +ModalOverlay::ModalOverlay(bool enable_wallet, QWidget* parent) + : QWidget(parent), + ui(new Ui::ModalOverlay), + bestHeaderDate(QDateTime()) { ui->setupUi(this); connect(ui->closeButton, &QPushButton::clicked, this, &ModalOverlay::closeClicked); |