Skip to content

Commit edae3ab

Browse files
committed
qt: No need to force Qt::QueuedConnection for NotifyAddressBookChanged
This change simplifies tests for `AddressBookPage` class. No user-faced behavior change.
1 parent be7a5f2 commit edae3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/walletmodel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static void NotifyAddressBookChanged(WalletModel *walletmodel,
369369
QString strPurpose = QString::fromStdString(purpose);
370370

371371
qDebug() << "NotifyAddressBookChanged: " + strAddress + " " + strLabel + " isMine=" + QString::number(isMine) + " purpose=" + strPurpose + " status=" + QString::number(status);
372-
bool invoked = QMetaObject::invokeMethod(walletmodel, "updateAddressBook", Qt::QueuedConnection,
372+
bool invoked = QMetaObject::invokeMethod(walletmodel, "updateAddressBook",
373373
Q_ARG(QString, strAddress),
374374
Q_ARG(QString, strLabel),
375375
Q_ARG(bool, isMine),

0 commit comments

Comments
 (0)