Diffstat (limited to 'kaddressbook/addresseeeditorwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/addresseeeditorwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/addresseeeditorwidget.cpp b/kaddressbook/addresseeeditorwidget.cpp index 9814cd5..966efa5 100644 --- a/kaddressbook/addresseeeditorwidget.cpp +++ b/kaddressbook/addresseeeditorwidget.cpp | |||
@@ -1183,17 +1183,17 @@ void AddresseeEditorWidget::save() | |||
1183 | for ( phoneIter = phoneNumbers.begin(); phoneIter != phoneNumbers.end(); | 1183 | for ( phoneIter = phoneNumbers.begin(); phoneIter != phoneNumbers.end(); |
1184 | ++phoneIter ) | 1184 | ++phoneIter ) |
1185 | mAddressee.removePhoneNumber( *phoneIter ); | 1185 | mAddressee.removePhoneNumber( *phoneIter ); |
1186 | 1186 | ||
1187 | phoneNumbers = mPhoneEditWidget->phoneNumbers(); | 1187 | phoneNumbers = mPhoneEditWidget->phoneNumbers(); |
1188 | for ( phoneIter = phoneNumbers.begin(); phoneIter != phoneNumbers.end(); | 1188 | for ( phoneIter = phoneNumbers.begin(); phoneIter != phoneNumbers.end(); |
1189 | ++phoneIter ) | 1189 | ++phoneIter ) |
1190 | mAddressee.insertPhoneNumber( *phoneIter ); | 1190 | mAddressee.insertPhoneNumber( *phoneIter ); |
1191 | 1191 | mAddressee.makePhoneNumbersOLcompatible(); | |
1192 | // Save the addresses | 1192 | // Save the addresses |
1193 | KABC::Address::List addresses; | 1193 | KABC::Address::List addresses; |
1194 | KABC::Address::List::Iterator addressIter; | 1194 | KABC::Address::List::Iterator addressIter; |
1195 | addresses = mAddressee.addresses(); | 1195 | addresses = mAddressee.addresses(); |
1196 | for ( addressIter = addresses.begin(); addressIter != addresses.end(); | 1196 | for ( addressIter = addresses.begin(); addressIter != addresses.end(); |
1197 | ++addressIter ) | 1197 | ++addressIter ) |
1198 | mAddressee.removeAddress( *addressIter ); | 1198 | mAddressee.removeAddress( *addressIter ); |
1199 | 1199 | ||