aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-05-02 13:56:20 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-05-02 13:56:20 +0200
commit3fdc5fee1864c759bceabaa61e104f954b9d1180 (patch)
tree8587e6033f27ecb26e467d550aa488b42c0f41e3 /src/qt/rpcconsole.h
parent1e7813e9bbb2561eafdf89481e92411be44f887a (diff)
Make sure initialization occurs in the constructor
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index 26ce2af728..a53c4c24f9 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -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;