diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-04-10 01:08:02 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-04-10 01:17:20 +0200 |
commit | 73bc1b7cd2b3fb5e34f4fc5aaa6892fb1e8f2d1e (patch) | |
tree | 9d01c8ad6e88be4ab2eac9ab361c3b86ff538eb3 /src/qt | |
parent | cf8073f8d1d18ab2798534bfd442445f0a1cdb6b (diff) |
Initialize editStatus and autoCompleter. Previously not initialized where defined or in constructor.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/addresstablemodel.h | 2 | ||||
-rw-r--r-- | src/qt/rpcconsole.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |