Make sure initialization occurs in the constructor
This commit is contained in:
1 parent
1e7813e9bb
commit
3fdc5fee18
2 files changed
+3
-3
No files matched your search
@@ -81,7 +81,7 @@ public:
|
|||||||
OutputType GetDefaultAddressType() const;
|
OutputType GetDefaultAddressType() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
WalletModel *walletModel = nullptr;
|
WalletModel* const walletModel;
|
||||||
AddressTablePriv *priv = nullptr;
|
AddressTablePriv *priv = nullptr;
|
||||||
QStringList columns;
|
QStringList columns;
|
||||||
EditStatus editStatus = OK;
|
EditStatus editStatus = OK;
|
||||||
|
|||||||
+2
-2
@@ -145,13 +145,13 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
interfaces::Node& m_node;
|
interfaces::Node& m_node;
|
||||||
Ui::RPCConsole *ui = nullptr;
|
Ui::RPCConsole* const ui;
|
||||||
ClientModel *clientModel = nullptr;
|
ClientModel *clientModel = nullptr;
|
||||||
QStringList history;
|
QStringList history;
|
||||||
int historyPtr = 0;
|
int historyPtr = 0;
|
||||||
QString cmdBeforeBrowsing;
|
QString cmdBeforeBrowsing;
|
||||||
QList<NodeId> cachedNodeids;
|
QList<NodeId> cachedNodeids;
|
||||||
const PlatformStyle *platformStyle = nullptr;
|
const PlatformStyle* const platformStyle;
|
||||||
RPCTimerInterface *rpcTimerInterface = nullptr;
|
RPCTimerInterface *rpcTimerInterface = nullptr;
|
||||||
QMenu *peersTableContextMenu = nullptr;
|
QMenu *peersTableContextMenu = nullptr;
|
||||||
QMenu *banTableContextMenu = nullptr;
|
QMenu *banTableContextMenu = nullptr;
|
||||||
|
|||||||
Reference in new issue
Block a user