From 90706ff3edbf0c30856bb9786e69a6d3a0e0867a Mon Sep 17 00:00:00 2001 From: eilers Date: Mon, 13 Jan 2003 17:38:53 +0000 Subject: Removed nonsense which corrupted the business phone data --- (limited to 'core/pim/addressbook/contacteditor.cpp') diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 37e3a54..d14ac51 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -647,8 +647,9 @@ void ContactEditor::init() { void ContactEditor::defaultEmailChanged(int i){ qDebug("defaultEmailChanged"); - int index = cmbChooserField1->currentItem(); - slChooserValues[index] = cmbDefaultEmail->text(i); + // was sollte das ? (se) +// int index = cmbChooserField1->currentItem(); +// slChooserValues[index] = cmbDefaultEmail->text(i); defaultEmail = cmbDefaultEmail->text(i); qDebug ("Changed to: %s", defaultEmail.latin1()); @@ -899,7 +900,6 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) { void ContactEditor::slotCmbChooser1Change( int index ) { qWarning("ContactEditor::slotCmbChooser1Change( %d )", index); - if ( !cmbChooserChange( cmbChooserField1->currentItem(), txtChooserField1, 1) ){ txtChooserField1->setText( slChooserValues[index] ); @@ -1483,6 +1483,7 @@ void ContactEditor::updateDatePicker() void ContactEditor::saveEntry() { + if ( useFullName ) { txtFirstName->setText( parseName( txtFullName->text(), NAME_F ) ); txtMiddleName->setText( parseName( txtFullName->text(), NAME_M ) ); -- cgit v0.9.0.2