Make sure initialization occurs in the constructor

This commit is contained in:
practicalswift 2018-05-02 13:56:20 +02:00
parent 1e7813e9bb
commit 3fdc5fee18
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ public:
OutputType GetDefaultAddressType() const;
private:
WalletModel *walletModel = nullptr;
WalletModel* const walletModel;
AddressTablePriv *priv = nullptr;
QStringList columns;
EditStatus editStatus = OK;

View File

@ -145,13 +145,13 @@ private:
};
interfaces::Node& m_node;
Ui::RPCConsole *ui = nullptr;
Ui::RPCConsole* const ui;
ClientModel *clientModel = nullptr;
QStringList history;
int historyPtr = 0;
QString cmdBeforeBrowsing;
QList<NodeId> cachedNodeids;
const PlatformStyle *platformStyle = nullptr;
const PlatformStyle* const platformStyle;
RPCTimerInterface *rpcTimerInterface = nullptr;
QMenu *peersTableContextMenu = nullptr;
QMenu *banTableContextMenu = nullptr;