diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-02 15:41:55 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-02 20:00:37 +0200 |
commit | 96740b5c1364f3ef4a32110ea98dde6128e922fc (patch) | |
tree | 675f8d7eb7bd717e2b7ae92cf0931263ec97ae0a /examples/caldavresource/caldavresource.cpp | |
parent | dacf52300b389c9ab2a6141423962202b84da6d8 (diff) | |
download | sink-96740b5c1364f3ef4a32110ea98dde6128e922fc.tar.gz sink-96740b5c1364f3ef4a32110ea98dde6128e922fc.zip |
Cleanup
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 | ||