aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-04-10 01:08:02 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-04-10 01:17:20 +0200
commit73bc1b7cd2b3fb5e34f4fc5aaa6892fb1e8f2d1e (patch)
tree9d01c8ad6e88be4ab2eac9ab361c3b86ff538eb3 /src/qt
parentcf8073f8d1d18ab2798534bfd442445f0a1cdb6b (diff)
Initialize editStatus and autoCompleter. Previously not initialized where defined or in constructor.
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/addresstablemodel.h2
-rw-r--r--src/qt/rpcconsole.h2
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;