[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:28 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=50bea6c
The following commit has been merged in the master branch:
commit 50bea6cba1a100a3eb974ec13fce403b6fbfc35b
Author: Vishesh Handa <handa.vish at gmail.com>
Date: Sat Feb 18 19:59:36 2012 +0530
Set the alias as the NAO::prefLabel
---
kpeople/nepomuk-feeder/nepomuk-storage.cpp | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/kpeople/nepomuk-feeder/nepomuk-storage.cpp b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
index 23adae9..d97fa83 100644
--- a/kpeople/nepomuk-feeder/nepomuk-storage.cpp
+++ b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
@@ -826,19 +826,9 @@ void NepomukStorage::setContactAlias(const QString &path, const QString &id, con
Nepomuk::SimpleResource &res = m_graph[imAccountUri];
res.setUri( imAccountUri );
res.setProperty( NCO::imNickname(), alias );
+ res.setProperty( NAO::prefLabel(), alias );
fireGraphTimer();
-
- // vHanda; WTF!! This is not good.
- /*if (!Nepomuk::Resource(resources.person()).hasProperty(Soprano::Vocabulary::NAO::prefLabel())) {
- KJob *job = Nepomuk::setProperty( QList<QUrl>() << resources.person(), Soprano::Vocabulary::NAO::prefLabel(),
- QVariantList() << alias );
-
- job->exec();
- if( job->error() ) {
- kWarning() << job->errorString();
- }
- }*/
}
void NepomukStorage::setContactPresence(const QString &path,
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list