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/walletmodel.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/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 0a5b21f997..d909cc837c 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -33,9 +33,9 @@ WalletModel::WalletModel(std::unique_ptr<interfaces::Wallet> wallet, interfaces::Node& node, const PlatformStyle *platformStyle, OptionsModel *_optionsModel, QObject *parent) : - QObject(parent), m_wallet(std::move(wallet)), m_node(node), optionsModel(_optionsModel), addressTableModel(0), - transactionTableModel(0), - recentRequestsTableModel(0), + QObject(parent), m_wallet(std::move(wallet)), m_node(node), optionsModel(_optionsModel), addressTableModel(nullptr), + transactionTableModel(nullptr), + recentRequestsTableModel(nullptr), cachedEncryptionStatus(Unencrypted), cachedNumBlocks(0) { |