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/clientmodel.h | |
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/clientmodel.h')
-rw-r--r-- | src/qt/clientmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 4a6abd6a76..69e091cfd5 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -104,9 +104,9 @@ private: std::unique_ptr<interfaces::Handler> m_handler_notify_block_tip; std::unique_ptr<interfaces::Handler> m_handler_notify_header_tip; OptionsModel *optionsModel; - PeerTableModel *peerTableModel; + PeerTableModel* peerTableModel{nullptr}; PeerTableSortProxy* m_peer_table_sort_proxy{nullptr}; - BanTableModel *banTableModel; + BanTableModel* banTableModel{nullptr}; //! A thread to interact with m_node asynchronously QThread* const m_thread; |