-rw-r--r-- | kaddressbook/kabcore.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 7cba9aa..3ae23e8 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -767,13 +767,13 @@ void KABCore::contactModified( const KABC::Addressee &addr ) setModified( true ); } void KABCore::newContact() { - AddresseeEditorDialog *dialog = 0; + QPtrList<KABC::Resource> kabcResources = mAddressBook->resources(); QPtrList<KRES::Resource> kresResources; QPtrListIterator<KABC::Resource> it( kabcResources ); KABC::Resource *resource; @@ -797,13 +797,12 @@ void KABCore::newContact() } else return; // mEditorDict.insert( dialog->addressee().uid(), dialog ); - dialog->show(); } void KABCore::addEmail( QString aStr ) { #ifndef KAB_EMBEDDED |