qt5.patch 721 B

1234567891011121314
  1. diff -Nuar a/src/incidencechanger_p.cpp b/src/incidencechanger_p.cpp
  2. --- a/src/incidencechanger_p.cpp 2017-12-04 13:20:36.000000000 +0300
  3. +++ b/src/incidencechanger_p.cpp 2017-12-16 22:01:34.956659792 +0300
  4. @@ -189,7 +189,9 @@
  5. << "isValid = " << mDefaultCollection.isValid()
  6. << "has ACLs = " << hasRights(mDefaultCollection, ChangeTypeCreate);
  7. // else fallthrough, and ask the user.
  8. +#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
  9. Q_FALLTHROUGH();
  10. +#endif
  11. case DestinationPolicyAsk: {
  12. mPendingCreations << change;
  13. loadCollections(); // Now we wait, collections are being loaded async