summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vrátil <[email protected]>2017-06-22 15:30:46 +0200
committerDaniel Vrátil <[email protected]>2017-06-22 15:30:46 +0200
commit896a67f39a96a46ebf9deb806af48b7a9b761f86 (patch)
tree4decc4ed444fed2129c86b2bd0cc4be2701d5422
parenteaf3e8704183181cfc0f65b2a2cec17c5a4f46df (diff)
FB: Remove Q_FALLTHROUGH, which was introduced in Qt 5.8
... and we still depend on 5.7 here.
-rw-r--r--resources/facebook/eventslistjob.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/resources/facebook/eventslistjob.cpp b/resources/facebook/eventslistjob.cpp
index 25511bc..5d777fb 100644
--- a/resources/facebook/eventslistjob.cpp
+++ b/resources/facebook/eventslistjob.cpp
@@ -61,9 +61,8 @@ KCalCore::Incidence::Status EventsListJob::parseStatus(const QJsonObject &data)
case Graph::NotResponded:
return KCalCore::Incidence::StatusNeedsAction;
case Graph::Declined:
- Q_FALLTHROUGH();
case Graph::Birthday:
- Q_FALLTHROUGH();
+ break;
}
return KCalCore::Incidence::StatusNone;