From 6385f303bef3cbcd19d097a7b05c30e144d5dd6e Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 26 Oct 2004 22:19:18 +0000 Subject: implemented remove sync info for kopi and kapi --- (limited to 'kabc/addressee.cpp') diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index 40877ef..a660a9d 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp @@ -553,7 +553,10 @@ void Addressee::simplifyPhoneNumberTypes() void Addressee::removeID(const QString &prof) { detach(); - mData->mExternalId = KIdManager::removeId ( mData->mExternalId, prof); + if ( prof.isEmpty() ) + mData->mExternalId = ":"; + else + mData->mExternalId = KIdManager::removeId ( mData->mExternalId, prof); } void Addressee::setID( const QString & prof , const QString & id ) -- cgit v0.9.0.2