summaryrefslogtreecommitdiffstats
path: root/kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-12-22 15:11:27 +0100
committer Eric Hameleers <alien@slackware.com>2014-12-22 15:11:27 +0100
commit5fc3fdb057a38c4c237a09c390871899dcfde24a (patch)
tree8b63511032f4850e197a065260d07f5970ad6dab /kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch
parent8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (diff)
downloadktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.gz
ktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.xz
KDE 4.10.5 for Slackware 14.0 (02jul2013)4.10.5
Diffstat (limited to 'kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch')
-rw-r--r--kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch b/kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch
deleted file mode 100644
index 2a8397d..0000000
--- a/kde/patch/kdepim-runtime/0001-Ignore-items-with-empty-remote-ids-here.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From ccd67f3e65c9ffe32858ca521aa1e56a42b026af Mon Sep 17 00:00:00 2001
-From: Volker Krause <vkrause@kde.org>
-Date: Tue, 20 Sep 2011 10:12:40 +0200
-Subject: [PATCH] Ignore items with empty remote ids here.
-
-Items with empty remote id are those not yet stored by the resource,
-ie. we still have pending change replays for those. So, if we do a sync
-during that period (which could happen since the introduction of the
-file system watcher), we would remove a random one of those (only one
-since the map would only contain one without a remote id). This mostly
-affects the POP3 usage pattern.
-(cherry picked from commit f814b46a799ea8418ae17cf77d44da473124d12d)
----
- resources/maildir/retrieveitemsjob.cpp | 6 ++++--
- 1 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/resources/maildir/retrieveitemsjob.cpp b/resources/maildir/retrieveitemsjob.cpp
-index 7253f7e..f0273ef 100644
---- a/resources/maildir/retrieveitemsjob.cpp
-+++ b/resources/maildir/retrieveitemsjob.cpp
-@@ -57,8 +57,10 @@ void RetrieveItemsJob::localListDone ( KJob* job )
-
- const Akonadi::Item::List items = qobject_cast<Akonadi::ItemFetchJob*>( job )->items();
- m_localItems.reserve( items.size() );
-- foreach ( const Akonadi::Item &item, items )
-- m_localItems.insert( item.remoteId(), item );
-+ foreach ( const Akonadi::Item &item, items ) {
-+ if ( !item.remoteId().isEmpty() )
-+ m_localItems.insert( item.remoteId(), item );
-+ }
-
- const QStringList entryList = m_maildir.entryList();
- qint64 previousMtime = m_collection.remoteRevision().toLongLong();
---
-1.7.1
-