From 5d6d1791c82ac692082af82689e6ed31fa1e7227 Mon Sep 17 00:00:00 2001 From: Fabian Arndt Date: Tue, 7 May 2024 01:20:13 +0000 Subject: [PATCH] Fixed typo --- declarativeplugin/responsewaiter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/declarativeplugin/responsewaiter.cpp b/declarativeplugin/responsewaiter.cpp index d81584489..84d1b2349 100644 --- a/declarativeplugin/responsewaiter.cpp +++ b/declarativeplugin/responsewaiter.cpp @@ -68,7 +68,7 @@ void DBusAsyncResponse::setPendingCall(QVariant variant) { if (QDBusPendingCall *call = const_cast(DBusResponseWaiter::instance()->extractPendingCall(variant))) { QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(*call); - watcher->setProperty("pengingCallVariant", variant); + watcher->setProperty("pendingCallVariant", variant); connect(watcher, &QDBusPendingCallWatcher::finished, this, &DBusAsyncResponse::onCallFinished); connect(watcher, &QDBusPendingCallWatcher::finished, watcher, &QObject::deleteLater); connect(&m_timeout, &QTimer::timeout, watcher, &QObject::deleteLater); @@ -79,7 +79,7 @@ void DBusAsyncResponse::setPendingCall(QVariant variant) void DBusAsyncResponse::onCallFinished(QDBusPendingCallWatcher *watcher) { m_timeout.stop(); - QVariant variant = watcher->property("pengingCallVariant"); + QVariant variant = watcher->property("pendingCallVariant"); if (QDBusPendingCall *call = const_cast(DBusResponseWaiter::instance()->extractPendingCall(variant))) { if (call->isError()) {