author | zautrix <zautrix> | 2004-10-27 11:17:28 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-27 11:17:28 (UTC) |
commit | f73d249579d52d7aeaacde2dcb23abeb42f9ee95 (patch) (side-by-side diff) | |
tree | 75dfc3cd592804c1b87bd2588df2e856a0ac776b /kabc/addressbook.cpp | |
parent | ce5b6b62c92cc051c5c9e780508b6d42c46df8ed (diff) | |
download | kdepimpi-f73d249579d52d7aeaacde2dcb23abeb42f9ee95.zip kdepimpi-f73d249579d52d7aeaacde2dcb23abeb42f9ee95.tar.gz kdepimpi-f73d249579d52d7aeaacde2dcb23abeb42f9ee95.tar.bz2 |
compile fix
-rw-r--r-- | kabc/addressbook.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index df0fba4..d101589 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -555,49 +555,49 @@ void AddressBook::smplifyAddressees() } void AddressBook::removeSyncInfo( QString syncProfile) { Iterator ait; for ( ait = begin(); ait != end(); ++ait ) { (*ait).removeID( syncProfile ); } if ( syncProfile.isEmpty() ) { Iterator it = begin(); Iterator it2 ; QDateTime dt ( QDate( 2004,1,1) ); while ( it != end() ) { if ( (*it).uid().left( 19 ) == QString("last-syncAddressee-") ) { it2 = it; //qDebug("removing %s ",(*it).uid().latin1() ); ++it; removeAddressee( it2 ); } else { //qDebug("skipping %s ",(*it).uid().latin1() ); ++it; } } } else { Addressee lse; - lse = mAddressBook->findByUid( "last-syncAddressee-"+ syncProfile ); + lse = findByUid( "last-syncAddressee-"+ syncProfile ); if ( ! lse.isEmpty() ) removeAddressee( lse ); } } void AddressBook::preparePhoneSync( QString currentSyncDevice, bool isPreSync ) { Iterator ait; for ( ait = begin(); ait != end(); ++ait ) { QString id = (*ait).IDStr(); (*ait).setIDStr( ":"); (*ait).setExternalUID( id ); (*ait).setOriginalExternalUID( id ); if ( isPreSync ) (*ait).setTempSyncStat( SYNC_TEMPSTATE_NEW_EXTERNAL ); else { (*ait).setTempSyncStat( SYNC_TEMPSTATE_NEW_ID ); (*ait).setID( currentSyncDevice,id ); } } } void AddressBook::findNewExtIds( QString fileName, QString currentSyncDevice ) { |