Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)

Qt-only changes.
This commit is contained in:
practicalswift
2018-07-30 12:37:09 +02:00
committed by Ben Woosley
parent 84d0fdce11
commit 9096276e0b
52 changed files with 90 additions and 90 deletions

View File

@@ -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)
{