summaryrefslogtreecommitdiffstats
path: root/examples/caldavresource
diff options
context:
space:
mode:
Diffstat (limited to 'examples/caldavresource')
-rw-r--r--examples/caldavresource/caldavresource.cpp9
1 files changed, 3 insertions, 6 deletions
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:
64 localCalendar.setName(remoteCalendar.displayName()); 64 localCalendar.setName(remoteCalendar.displayName());
65 localCalendar.setColor(remoteCalendar.color().name().toLatin1()); 65 localCalendar.setColor(remoteCalendar.color().name().toLatin1());
66 66
67 createOrModify(ENTITY_TYPE_CALENDAR, rid, localCalendar, 67 createOrModify(ENTITY_TYPE_CALENDAR, rid, localCalendar, {});
68 /* mergeCriteria = */ QHash<QByteArray, Sink::Query::Comparator>{});
69 } 68 }
70 } 69 }
71 70
@@ -86,8 +85,7 @@ protected:
86 85
87 SinkTrace() << "Found an event with id:" << rid; 86 SinkTrace() << "Found an event with id:" << rid;
88 87
89 createOrModify(ENTITY_TYPE_EVENT, rid, localEvent, 88 createOrModify(ENTITY_TYPE_EVENT, rid, localEvent, {});
90 /* mergeCriteria = */ QHash<QByteArray, Sink::Query::Comparator>{});
91 break; 89 break;
92 } 90 }
93 case Type::TypeTodo: { 91 case Type::TypeTodo: {
@@ -97,8 +95,7 @@ protected:
97 95
98 SinkTrace() << "Found a Todo with id:" << rid; 96 SinkTrace() << "Found a Todo with id:" << rid;
99 97
100 createOrModify(ENTITY_TYPE_TODO, rid, localTodo, 98 createOrModify(ENTITY_TYPE_TODO, rid, localTodo, {});
101 /* mergeCriteria = */ QHash<QByteArray, Sink::Query::Comparator>{});
102 break; 99 break;
103 } 100 }
104 case Type::TypeJournal: 101 case Type::TypeJournal: