diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index d7aeda9d8..9b20157a8 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 a9a60d09f..aedee2486 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;