diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-30 12:37:09 +0200 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2019-01-13 03:25:14 -0800 |
commit | 9096276e0b2d5b7e19af9a5f3c144ef108ee55e0 (patch) | |
tree | d31596ad94235ed328012c191d6d5055f60bf31c /src/qt/clientmodel.cpp | |
parent | 84d0fdce11709c8e26b9c450d47727ab36641437 (diff) |
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Qt-only changes.
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r-- | src/qt/clientmodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 217326f818..30d9e977b8 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -35,9 +35,9 @@ ClientModel::ClientModel(interfaces::Node& node, OptionsModel *_optionsModel, QO QObject(parent), m_node(node), optionsModel(_optionsModel), - peerTableModel(0), - banTableModel(0), - pollTimer(0) + peerTableModel(nullptr), + banTableModel(nullptr), + pollTimer(nullptr) { cachedBestHeaderHeight = -1; cachedBestHeaderTime = -1; |