summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp
index 40e3add..e9a6012 100644
--- a/common/genericresource.cpp
+++ b/common/genericresource.cpp
@@ -313,16 +313,16 @@ GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, c
313 s >> expectedValue; 313 s >> expectedValue;
314 inspect(inspectionType, inspectionId, domainType, entityId, property, expectedValue).then<void>([=]() { 314 inspect(inspectionType, inspectionId, domainType, entityId, property, expectedValue).then<void>([=]() {
315 Akonadi2::ResourceNotification n; 315 Akonadi2::ResourceNotification n;
316 n.type = Akonadi2::NotificationType_Inspection; 316 n.type = Akonadi2::Commands::NotificationType_Inspection;
317 n.id = inspectionId; 317 n.id = inspectionId;
318 n.code = Akonadi2::NotificationCode_Success; 318 n.code = Akonadi2::Commands::NotificationCode_Success;
319 emit notify(n); 319 emit notify(n);
320 }, [=](int code, const QString &message) { 320 }, [=](int code, const QString &message) {
321 Akonadi2::ResourceNotification n; 321 Akonadi2::ResourceNotification n;
322 n.type = Akonadi2::NotificationType_Inspection; 322 n.type = Akonadi2::Commands::NotificationType_Inspection;
323 n.message = message; 323 n.message = message;
324 n.id = inspectionId; 324 n.id = inspectionId;
325 n.code = Akonadi2::NotificationCode_Failure; 325 n.code = Akonadi2::Commands::NotificationCode_Failure;
326 emit notify(n); 326 emit notify(n);
327 }).exec(); 327 }).exec();
328 return KAsync::null<void>(); 328 return KAsync::null<void>();