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:
parent
be7a5f2fc4
commit
edae3ab699
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user