Initialize editStatus and autoCompleter. Previously not initialized where defined or in constructor.

This commit is contained in:
practicalswift 2018-04-10 01:08:02 +02:00
parent cf8073f8d1
commit 73bc1b7cd2
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -156,7 +156,7 @@ private:
QMenu *peersTableContextMenu;
QMenu *banTableContextMenu;
int consoleFontSize;
QCompleter *autoCompleter;
QCompleter *autoCompleter = nullptr;
QThread thread;
QString m_last_wallet_id;