aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.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/peertablemodel.h
parent5055d07edf4625d23c36d548d3598d7b578c05fb (diff)
downloadbitcoin-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/peertablemodel.h')
-rw-r--r--src/qt/peertablemodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h
index e2515de775..9cbdad4374 100644
--- a/src/qt/peertablemodel.h
+++ b/src/qt/peertablemodel.h
@@ -110,7 +110,7 @@ private:
/*: Title of Peers Table column which contains the peer's
User Agent string. */
tr("User Agent")};
- QTimer *timer;
+ QTimer* timer{nullptr};
};
#endif // BITCOIN_QT_PEERTABLEMODEL_H