Branch 'feature/remoterelationsync' - akonadi/resourcebase.cpp

Aaron Seigo seigo at kolabsys.com
Tue Nov 11 12:04:28 CET 2014


 akonadi/resourcebase.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82c75a940aa6d970b72d3618fe11f46f334d2a72
Author: Aaron Seigo <aseigo at kde.org>
Date:   Tue Nov 11 12:00:56 2014 +0100

    this piggy-backs on the tags sync

diff --git a/akonadi/resourcebase.cpp b/akonadi/resourcebase.cpp
index 190648e..0de70f3 100644
--- a/akonadi/resourcebase.cpp
+++ b/akonadi/resourcebase.cpp
@@ -1410,7 +1410,7 @@ void ResourceBasePrivate::slotTagSyncDone(KJob *job)
 void ResourceBase::relationsRetrieved(const Relation::List &relations)
 {
     Q_D(ResourceBase);
-    Q_ASSERT_X(d->scheduler->currentTask().type == ResourceScheduler::SyncRelations ||
+    Q_ASSERT_X(d->scheduler->currentTask().type == ResourceScheduler::SyncTags ||
                d->scheduler->currentTask().type == ResourceScheduler::SyncAll ||
                d->scheduler->currentTask().type == ResourceScheduler::Custom,
                "ResourceBase::relationsRetrieved()",




More information about the commits mailing list