From 3fdc5fee1864c759bceabaa61e104f954b9d1180 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 2 May 2018 13:56:20 +0200 Subject: Make sure initialization occurs in the constructor --- src/qt/addresstablemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/addresstablemodel.h') diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index 94e0e1edce..0c4d585d51 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -81,7 +81,7 @@ public: OutputType GetDefaultAddressType() const; private: - WalletModel *walletModel = nullptr; + WalletModel* const walletModel; AddressTablePriv *priv = nullptr; QStringList columns; EditStatus editStatus = OK; -- cgit v1.2.3