From ac6bff575f934bceab03abdabc6a5c841c5b1f5e Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 1 Jul 2020 03:29:26 +0200 Subject: [PATCH] Use fully qualified identifiers for metaobject types Fixes QML error: share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/StatusNotifierItem.qml:64: Error: Unknown method return type: ServiceJob* BUG: 423643 --- src/plasma/service.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasma/service.h b/src/plasma/service.h index 485d23f03..b5282dc95 100644 --- a/src/plasma/service.h +++ b/src/plasma/service.h @@ -135,7 +135,7 @@ public: * @return a started ServiceJob; the consumer may connect to relevant * signals before returning to the event loop */ - Q_INVOKABLE ServiceJob *startOperationCall(const QVariantMap &description, QObject *parent = nullptr); + Q_INVOKABLE Plasma::ServiceJob *startOperationCall(const QVariantMap &description, QObject *parent = nullptr); /** * Query to find if an operation is enabled or not.