-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index cbcd11f..adea1a1 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -1015,3 +1015,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1015 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); | 1015 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); |
1016 | strLastName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos ); | 1016 | strLastName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos2 ); |
1017 | strSuffix = simplifiedName.mid( spPos + 1 ); | 1017 | strSuffix = simplifiedName.mid( spPos + 1 ); |
@@ -1025,3 +1025,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1025 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); | 1025 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); |
1026 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos ); | 1026 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos2 ); |
1027 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); | 1027 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); |
@@ -1037,3 +1037,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1037 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); | 1037 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); |
1038 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos ); | 1038 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos2 ); |
1039 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); | 1039 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); |
@@ -1071,3 +1071,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1071 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); | 1071 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); |
1072 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos ); | 1072 | strMiddleName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos2 ); |
1073 | strSuffix = simplifiedName.mid( spPos + 1 ); | 1073 | strSuffix = simplifiedName.mid( spPos + 1 ); |
@@ -1081,3 +1081,3 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1081 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); | 1081 | spPos = simplifiedName.find( ' ', spPos2 + 1, TRUE ); |
1082 | strFirstName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos ); | 1082 | strFirstName = simplifiedName.mid( spPos2 + 1, (spPos - 1) - spPos2 ); |
1083 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); | 1083 | spPos2 = simplifiedName.find( ' ', spPos + 1, TRUE ); |
@@ -1381,2 +1381,3 @@ void ContactEditor::saveEntry() { | |||
1381 | ent.setMiddleName( txtMiddleName->text() ); | 1381 | ent.setMiddleName( txtMiddleName->text() ); |
1382 | ent.setSuffix( txtSuffix->text() ); | ||
1382 | 1383 | ||