summaryrefslogtreecommitdiffabout
path: root/kaddressbook/views/kaddressbookiconview.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/views/kaddressbookiconview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/views/kaddressbookiconview.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp
index 0ffc674..fdc0db9 100644
--- a/kaddressbook/views/kaddressbookiconview.cpp
+++ b/kaddressbook/views/kaddressbookiconview.cpp
@@ -318,4 +318,7 @@ void KAddressBookIconView::refresh(QString uid)
KABC::Addressee::List::Iterator iter;
- for ( iter = addresseeList.begin(); iter != addresseeList.end(); ++iter )
- aItem = new AddresseeIconViewItem( fields(), addressBook(), *iter, mIconView );
+ for ( iter = addresseeList.begin(); iter != addresseeList.end(); ++iter ) {
+ if ( (*iter).uid().left(2) == "la" && (*iter).uid().left(19) == QString("last-syncAddressee-") )
+ continue;
+ aItem = new AddresseeIconViewItem( fields(), addressBook(), *iter, mIconView );
+ }