zanshin/0001-Fix-compilation-after-Collection-referenced-was-removed.patch
Dominique Leuenberger e1214e61a2 Accepting request 742248 from KDE:Extra
- Fix the license tag. Zanshin has GPL-2.0-only and MIT files

- Add patches to build with recent kcalendarcore versions:
  * 0001-Fix-compilation-with-latest-KCalCore-API-changes-Att.patch
  * 0001-Fix-build-with-Boost-1.70.0.patch
  * 0001-Look-for-AkonadiContact.patch
  * 0001-Remove-the-delegation-feature.patch
  * 0001-Fix-compilation-after-Collection-referenced-was-removed.patch
  * 0001-Fix-linking-of-the-cuke-steps.patch
  * 0001-Make-it-build-both-with-pre-and-post.patch
- Drop patches:
  * findKF5sooner.patch
  * useknownGCCflag.patch
  * qpointerconnect.diff
  * fix-build-with-Qt-5.6.patch

OBS-URL: https://build.opensuse.org/request/show/742248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zanshin?expand=0&rev=5
2019-10-24 21:08:55 +00:00

20 lines
834 B
Diff

commit 00a1024fc93978330f94e7346135a7feec8c0241
Author: David Faure <faure@kde.org>
Date: Fri May 3 19:40:20 2019 +0200
Fix compilation after Collection::referenced was removed from Akonadi
diff --git a/tests/testlib/akonadifakestorage.cpp b/tests/testlib/akonadifakestorage.cpp
index e64c363..8fe1258 100644
--- a/tests/testlib/akonadifakestorage.cpp
+++ b/tests/testlib/akonadifakestorage.cpp
@@ -508,7 +508,7 @@ Akonadi::Collection::List AkonadiFakeStorage::collectChildren(const Akonadi::Col
auto collections = Akonadi::Collection::List();
foreach (const auto &child, m_data->childCollections(findId(root))) {
- if (child.enabled() || child.referenced())
+ if (child.enabled())
collections << m_data->collection(findId(child));
collections += collectChildren(child);
}