qt: No need to force Qt::QueuedConnection for NotifyAddressBookChanged

This change simplifies tests for `AddressBookPage` class.
No user-faced behavior change.
This commit is contained in:
Hennadii Stepanov 2022-04-23 15:19:11 +02:00
parent be7a5f2fc4
commit edae3ab699
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

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