[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9
Maximiliano Curia
maxy at moszumanska.debian.org
Mon May 9 09:07:31 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=fc4fdf1
The following commit has been merged in the master branch:
commit fc4fdf12afe990dd183e8010e9f1bb910ad5eaaf
Author: Vishesh Handa <handa.vish at gmail.com>
Date: Tue Mar 20 22:35:09 2012 +0530
Fix setContactCapabilities
nco:hasIMCapability doesn't have a cardinality of 1. We cannot
use storeResources.
---
kpeople/nepomuk-feeder/nepomuk-storage.cpp | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/kpeople/nepomuk-feeder/nepomuk-storage.cpp b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
index c362561..fe6d441 100644
--- a/kpeople/nepomuk-feeder/nepomuk-storage.cpp
+++ b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
@@ -1063,13 +1063,9 @@ void NepomukStorage::setContactCapabilities(const QString &path,
if (capabilities.streamedMediaVideoCalls())
capList << NCO::imCapabilityVideo();
- hasInvalidResources();
- Nepomuk::SimpleResource &imAccount = m_graph[imAccountUri];
- imAccount.setUri( imAccountUri );
- imAccount.setProperty( NCO::hasIMCapability(), capList );
-
- hasInvalidResources();
- fireGraphTimer();
+ // Cannot use storeResources as nco:hasIMCapability doesn't have a cardinality of 1
+ KJob* job = Nepomuk::setProperty(QList<QUrl>() << imAccountUri, NCO::hasIMCapability(), capList );
+ connect(job, SIGNAL(finished(KJob*)), this, SLOT(onSaveJobResult(KJob*)));
}
void NepomukStorage::setContactAvatar(const QString &path,
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list