summaryrefslogtreecommitdiffabout
path: root/kabc/addressee.cpp
Side-by-side diff
Diffstat (limited to 'kabc/addressee.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kabc/addressee.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp
index 40877ef..a660a9d 100644
--- a/kabc/addressee.cpp
+++ b/kabc/addressee.cpp
@@ -555,2 +555,5 @@ void Addressee::removeID(const QString &prof)
detach();
+ if ( prof.isEmpty() )
+ mData->mExternalId = ":";
+ else
mData->mExternalId = KIdManager::removeId ( mData->mExternalId, prof);