[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim-runtime] resources/google/contacts: Fix default group ID of newly created Google contacts
From:       Dan_Vrátil <dvratil () redhat ! com>
Date:       2013-06-01 0:01:43
Message-ID: 20130601000143.36155A6067 () git ! kde ! org
[Download RAW message or body]

Git commit e1bd1049e70bc1414206f167969c329efe4840d5 by Dan Vrátil.
Committed on 01/06/2013 at 02:00.
Pushed by dvratil into branch 'master'.

Fix default group ID of newly created Google contacts

M  +1    -1    resources/google/contacts/contactsresource.cpp

http://commits.kde.org/kdepim-runtime/e1bd1049e70bc1414206f167969c329efe4840d5

diff --git a/resources/google/contacts/contactsresource.cpp \
b/resources/google/contacts/contactsresource.cpp index 37d4c16..9afe5dd 100644
--- a/resources/google/contacts/contactsresource.cpp
+++ b/resources/google/contacts/contactsresource.cpp
@@ -162,7 +162,7 @@ void ContactsResource::itemAdded( const Item &item, const \
Collection &collection  
     /* If the contact has been moved into My Contacts group then modify the \
membership */  if ( collection.remoteId() == MYCONTACTS_REMOTEID ) {
-        contact->addGroup( collection.remoteId() );
+        contact->addGroup( QString::fromLatin1( \
"http://www.google.com/m8/feeds/groups/%1/base/6" ).arg( QString::fromLatin1( \
QUrl::toPercentEncoding( account()->accountName() ) ) ) );  }
 
     /* If the contact has been moved to Other Contacts then remove all groups */


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic