Skip to content

Commit 73bc1b7

Browse files
Initialize editStatus and autoCompleter. Previously not initialized where defined or in constructor.
1 parent cf8073f commit 73bc1b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qt/addresstablemodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class AddressTableModel : public QAbstractTableModel
8484
WalletModel *walletModel;
8585
AddressTablePriv *priv;
8686
QStringList columns;
87-
EditStatus editStatus;
87+
EditStatus editStatus = OK;
8888

8989
/** Notify listeners that data changed. */
9090
void emitDataChanged(int index);

src/qt/rpcconsole.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public Q_SLOTS:
156156
QMenu *peersTableContextMenu;
157157
QMenu *banTableContextMenu;
158158
int consoleFontSize;
159-
QCompleter *autoCompleter;
159+
QCompleter *autoCompleter = nullptr;
160160
QThread thread;
161161
QString m_last_wallet_id;
162162

0 commit comments

Comments
 (0)