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.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/modaloverlay.h')
-rw-r--r-- | src/qt/modaloverlay.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h index 682c94cd01..aa470caf07 100644 --- a/src/qt/modaloverlay.h +++ b/src/qt/modaloverlay.h @@ -45,11 +45,11 @@ protected: private: Ui::ModalOverlay *ui; - int bestHeaderHeight; //best known height (based on the headers) + int bestHeaderHeight{0}; // best known height (based on the headers) QDateTime bestHeaderDate; QVector<QPair<qint64, double> > blockProcessTime; - bool layerIsVisible; - bool userClosed; + bool layerIsVisible{false}; + bool userClosed{false}; QPropertyAnimation m_animation; void UpdateHeaderSyncLabel(); void UpdateHeaderPresyncLabel(int height, const QDateTime& blockDate); |