mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue