From 419eec6806b593cfd249f91af5e35dc49c6b7e22 Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Tue, 7 Jul 2026 22:59:25 +0300 Subject: [PATCH] PackageKit::Offline::Results: Make castable to QDBusPendingCall This makes it possible to feed the Results object into QDBusPendingCallWatcher --- src/offline.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/offline.h b/src/offline.h index 2772565..1d196b7 100644 --- a/src/offline.h +++ b/src/offline.h @@ -66,6 +66,8 @@ class PACKAGEKITQT_LIBRARY Offline : public QObject qulonglong timeFinished() const; Transaction::Error error() const; QString errorDescription() const; + + operator QDBusPendingCall() const { return m_reply; } private: QDBusPendingReply m_reply; };