diff options
Diffstat (limited to 'examples/caldavresource/caldavresource.cpp')
-rw-r--r-- | examples/caldavresource/caldavresource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/caldavresource/caldavresource.cpp b/examples/caldavresource/caldavresource.cpp index d33f625..8574575 100644 --- a/examples/caldavresource/caldavresource.cpp +++ b/examples/caldavresource/caldavresource.cpp | |||
@@ -130,7 +130,7 @@ protected: | |||
130 | switch (operation) { | 130 | switch (operation) { |
131 | case Sink::Operation_Creation: { | 131 | case Sink::Operation_Creation: { |
132 | auto rawIcal = localItem.getIcal(); | 132 | auto rawIcal = localItem.getIcal(); |
133 | if (rawIcal == "") { | 133 | if (rawIcal.isEmpty()) { |
134 | return KAsync::error<QByteArray>("No ICal in item for creation replay"); | 134 | return KAsync::error<QByteArray>("No ICal in item for creation replay"); |
135 | } | 135 | } |
136 | 136 | ||
@@ -152,7 +152,7 @@ protected: | |||
152 | } | 152 | } |
153 | case Sink::Operation_Modification: | 153 | case Sink::Operation_Modification: |
154 | auto rawIcal = localItem.getIcal(); | 154 | auto rawIcal = localItem.getIcal(); |
155 | if (rawIcal == "") { | 155 | if (rawIcal.isEmpty()) { |
156 | return KAsync::error<QByteArray>("No ICal in item for modification replay"); | 156 | return KAsync::error<QByteArray>("No ICal in item for modification replay"); |
157 | } | 157 | } |
158 | 158 | ||