summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Capriotti <paolo.capriotti@collabora.co.uk>2011-07-27 18:39:46 (GMT)
committerPaolo Capriotti <paolo.capriotti@collabora.co.uk>2011-07-27 18:39:46 (GMT)
commit5a7bdf96f3c44cf0424debe6338cd544b2b90264 (patch)
treefd632db28c327e5d67ac42332c867fb637eb2dc3
parent30b985abcfecc0db0d04aabb432bbb039454aee2 (diff)
downloadqt-folks-master.tar.gz
qt-folks-master.tar.xz
Add extra fields in QContactOnlineAccount detail.HEADmaster
-rw-r--r--qt-folks/managerengine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-folks/managerengine.cpp b/qt-folks/managerengine.cpp
index f5e9e7a..95c27d2 100644
--- a/qt-folks/managerengine.cpp
+++ b/qt-folks/managerengine.cpp
@@ -554,6 +554,10 @@ void ManagerEngine::addAccountDetails(
account.setDetailUri(getPersonaAccountUri(FOLKS_PERSONA(persona)));
+ account.setValue("icon", QString::fromUtf8(tp_account_get_icon_name(tpAccount)));
+ account.setValue("alias", QString::fromUtf8(folks_alias_details_get_alias(
+ FOLKS_ALIAS_DETAILS(persona))));
+
// FIXME: We should set the capabilities here, but from what I understood
// the current capabilities functions could be deprecated and replaced by
// QContactAction and related classes (that don't exist yet in the most