From 381957eeb8b029037bed1a6714b9f801198ffaef Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 2 Aug 2018 20:21:22 +0200 Subject: Cleanup --- examples/caldavresource/caldavresource.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'examples/caldavresource') diff --git a/examples/caldavresource/caldavresource.cpp b/examples/caldavresource/caldavresource.cpp index df9ab52..4a73521 100644 --- a/examples/caldavresource/caldavresource.cpp +++ b/examples/caldavresource/caldavresource.cpp @@ -64,8 +64,7 @@ protected: localCalendar.setName(remoteCalendar.displayName()); localCalendar.setColor(remoteCalendar.color().name().toLatin1()); - createOrModify(ENTITY_TYPE_CALENDAR, rid, localCalendar, - /* mergeCriteria = */ QHash{}); + createOrModify(ENTITY_TYPE_CALENDAR, rid, localCalendar, {}); } } @@ -86,8 +85,7 @@ protected: SinkTrace() << "Found an event with id:" << rid; - createOrModify(ENTITY_TYPE_EVENT, rid, localEvent, - /* mergeCriteria = */ QHash{}); + createOrModify(ENTITY_TYPE_EVENT, rid, localEvent, {}); break; } case Type::TypeTodo: { @@ -97,8 +95,7 @@ protected: SinkTrace() << "Found a Todo with id:" << rid; - createOrModify(ENTITY_TYPE_TODO, rid, localTodo, - /* mergeCriteria = */ QHash{}); + createOrModify(ENTITY_TYPE_TODO, rid, localTodo, {}); break; } case Type::TypeJournal: -- cgit v1.2.3