-rw-r--r-- | kabc/addressbook.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index 5774c36..6194d6d 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -876,9 +876,9 @@ void AddressBook::removeSyncAddressees( bool removeDeleted ) //qDebug("skipping %s ",(*it).uid().latin1() ); if ( removeDeleted ) { // we have no postprocessing in the resource, we have to do it here // we have to compute csum for all, because it could be the first sync - (*it).setTempSyncStat( SYNC_TEMPSTATE_NEW_CSUM ); + (*it).setTempSyncStat( SYNC_TEMPSTATE_NEW_ID ); } ++it; @@ -941,9 +941,9 @@ void AddressBook::postExternSync( AddressBook* aBook , const QString& csd, bool if ( setID ) { if ( (*it).tempSyncStat() == SYNC_TEMPSTATE_NEW_ID ) ad.setID( csd, (*it).externalUID() ); } else - ad.setID( csd, "_" ); + ad.setID( csd, (*it).uid() ); ad.setCsum( csd, (*it).getCsum( csd ) ); aBook->insertAddressee( ad ); } } |