Diffstat (limited to 'kaddressbook/xxportselectdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/xxportselectdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp index e134f97..278cab0 100644 --- a/kaddressbook/xxportselectdialog.cpp +++ b/kaddressbook/xxportselectdialog.cpp @@ -159,6 +159,7 @@ KABC::AddresseeList XXPortSelectDialog::contacts() for ( it = selection.begin(); it != selection.end(); ++it ) { KABC::Addressee addr = mCore->addressBook()->findByUid( *it ); if ( !addr.isEmpty() ) + if ( addr.uid().left( 19 ) != QString("last-syncAddressee-") ) list.append( addr ); } } else if ( mUseFilters->isChecked() ) { @@ -171,6 +172,7 @@ KABC::AddresseeList XXPortSelectDialog::contacts() KABC::AddressBook::Iterator it; for ( it = mCore->addressBook()->begin(); it != mCore->addressBook()->end(); ++it ) { if ( (*filterIt).filterAddressee( *it ) ) + if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") ) list.append( *it ); } } else if ( mUseCategories->isChecked() ) { @@ -181,6 +183,7 @@ KABC::AddresseeList XXPortSelectDialog::contacts() QStringList::Iterator tmpIt; for ( tmpIt = tmp.begin(); tmpIt != tmp.end(); ++tmpIt ) if ( categorieList.contains( *tmpIt ) ) { + if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") ) list.append( *it ); break; } @@ -189,6 +192,7 @@ KABC::AddresseeList XXPortSelectDialog::contacts() // create a string list of all entries: KABC::AddressBook::Iterator it; for ( it = mCore->addressBook()->begin(); it != mCore->addressBook()->end(); ++it ) + if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") ) list.append( *it ); } |