Skip to content

Commit

Permalink
qt: No need to force Qt::QueuedConnection for NotifyAddressBookChanged
Browse files Browse the repository at this point in the history
This change simplifies tests for `AddressBookPage` class.
No user-faced behavior change.
  • Loading branch information
hebasto committed Apr 23, 2022
1 parent be7a5f2 commit edae3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static void NotifyAddressBookChanged(WalletModel *walletmodel,
QString strPurpose = QString::fromStdString(purpose);

qDebug() << "NotifyAddressBookChanged: " + strAddress + " " + strLabel + " isMine=" + QString::number(isMine) + " purpose=" + strPurpose + " status=" + QString::number(status);
bool invoked = QMetaObject::invokeMethod(walletmodel, "updateAddressBook", Qt::QueuedConnection,
bool invoked = QMetaObject::invokeMethod(walletmodel, "updateAddressBook",
Q_ARG(QString, strAddress),
Q_ARG(QString, strLabel),
Q_ARG(bool, isMine),
Expand Down

0 comments on commit edae3ab

Please sign in to comment.