From 73bc1b7cd2b3fb5e34f4fc5aaa6892fb1e8f2d1e Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 10 Apr 2018 01:08:02 +0200 Subject: Initialize editStatus and autoCompleter. Previously not initialized where defined or in constructor. --- src/qt/addresstablemodel.h | 2 +- src/qt/rpcconsole.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qt') diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index d7aeda9d8e..9b20157a81 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -84,7 +84,7 @@ private: WalletModel *walletModel; AddressTablePriv *priv; QStringList columns; - EditStatus editStatus; + EditStatus editStatus = OK; /** Notify listeners that data changed. */ void emitDataChanged(int index); diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index a9a60d09f1..aedee24869 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -156,7 +156,7 @@ private: QMenu *peersTableContextMenu; QMenu *banTableContextMenu; int consoleFontSize; - QCompleter *autoCompleter; + QCompleter *autoCompleter = nullptr; QThread thread; QString m_last_wallet_id; -- cgit v1.2.3