diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-23 15:19:11 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-23 15:20:26 +0200 |
commit | edae3ab6999ee9e6efabd8403d31e9bd7c84f8a3 (patch) | |
tree | 373f22ea652cad4c4469addb10ba801ebe036bc3 /src/qt/walletmodel.cpp | |
parent | be7a5f2fc400e7a3ef72dedbdcf49dd6c96d4f9e (diff) | |
download | bitcoin-edae3ab6999ee9e6efabd8403d31e9bd7c84f8a3.tar.xz |
qt: No need to force Qt::QueuedConnection for NotifyAddressBookChanged
This change simplifies tests for `AddressBookPage` class.
No user-faced behavior change.
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 5ee32e79d5..070608ec0b 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -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), |