summaryrefslogtreecommitdiffabout
path: root/kaddressbook
Side-by-side diff
Diffstat (limited to 'kaddressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/xxportselectdialog.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index e134f97..278cab0 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -160,5 +160,6 @@ KABC::AddresseeList XXPortSelectDialog::contacts()
KABC::Addressee addr = mCore->addressBook()->findByUid( *it );
if ( !addr.isEmpty() )
- list.append( addr );
+ if ( addr.uid().left( 19 ) != QString("last-syncAddressee-") )
+ list.append( addr );
}
} else if ( mUseFilters->isChecked() ) {
@@ -172,5 +173,6 @@ KABC::AddresseeList XXPortSelectDialog::contacts()
for ( it = mCore->addressBook()->begin(); it != mCore->addressBook()->end(); ++it ) {
if ( (*filterIt).filterAddressee( *it ) )
- list.append( *it );
+ if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") )
+ list.append( *it );
}
} else if ( mUseCategories->isChecked() ) {
@@ -182,5 +184,6 @@ KABC::AddresseeList XXPortSelectDialog::contacts()
for ( tmpIt = tmp.begin(); tmpIt != tmp.end(); ++tmpIt )
if ( categorieList.contains( *tmpIt ) ) {
- list.append( *it );
+ if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") )
+ list.append( *it );
break;
}
@@ -190,5 +193,6 @@ KABC::AddresseeList XXPortSelectDialog::contacts()
KABC::AddressBook::Iterator it;
for ( it = mCore->addressBook()->begin(); it != mCore->addressBook()->end(); ++it )
- list.append( *it );
+ if ((*it).uid().left( 19 ) != QString("last-syncAddressee-") )
+ list.append( *it );
}