summaryrefslogtreecommitdiffabout
path: root/kabc/addressee.cpp
Unidiff
Diffstat (limited to 'kabc/addressee.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kabc/addressee.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp
index 6b282e2..4cdd5e5 100644
--- a/kabc/addressee.cpp
+++ b/kabc/addressee.cpp
@@ -803,3 +803,9 @@ void Addressee::setNameFromString( const QString &str )
803 803
804 QStringList titles; 804 static bool first = true;
805 static QStringList titles;
806 static QStringList suffixes;
807 static QStringList prefixes;
808
809 if ( first ) {
810 first = false;
805 titles += i18n( "Dr." ); 811 titles += i18n( "Dr." );
@@ -811,3 +817,2 @@ void Addressee::setNameFromString( const QString &str )
811 817
812 QStringList suffixes;
813 suffixes += i18n( "I" ); 818 suffixes += i18n( "I" );
@@ -818,3 +823,2 @@ void Addressee::setNameFromString( const QString &str )
818 823
819 QStringList prefixes;
820 prefixes += "van"; 824 prefixes += "van";
@@ -823,3 +827,2 @@ void Addressee::setNameFromString( const QString &str )
823 827
824//US KConfig config( "kabcrc" );
825 KConfig config( locateLocal( "config", "kabcrc") ); 828 KConfig config( locateLocal( "config", "kabcrc") );
@@ -832,2 +835,3 @@ void Addressee::setNameFromString( const QString &str )
832 suffixes.remove( "" ); 835 suffixes.remove( "" );
836 }
833 837