author | zautrix <zautrix> | 2005-04-19 15:19:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-19 15:19:29 (UTC) |
commit | b36bdf88fbf3cc78e4bf072b5eb3ec16bd8ec235 (patch) (side-by-side diff) | |
tree | c1d6a10633c0b57f68c6d5e10e1f427b96dee0c5 /kaddressbook/kaimportoldialog.cpp | |
parent | da4130c979ec1ea278183ef7697777cb4d1f5101 (diff) | |
download | kdepimpi-b36bdf88fbf3cc78e4bf072b5eb3ec16bd8ec235.zip kdepimpi-b36bdf88fbf3cc78e4bf072b5eb3ec16bd8ec235.tar.gz kdepimpi-b36bdf88fbf3cc78e4bf072b5eb3ec16bd8ec235.tar.bz2 |
fix
Diffstat (limited to 'kaddressbook/kaimportoldialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kaimportoldialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/kaimportoldialog.cpp b/kaddressbook/kaimportoldialog.cpp index 848d8af..7bb8bd8 100644 --- a/kaddressbook/kaimportoldialog.cpp +++ b/kaddressbook/kaimportoldialog.cpp @@ -308,16 +308,17 @@ void KAImportOLdialog::ol2kapiContact( _ContactItem * aItem ) if ( sec > 1 )// mapping pers -> private --sec; addressee.setSecrecy( sec ); //addressee.setLogo( const Picture &logo ); //addressee.setPhoto( const Picture &photo ); //addressee.setSound( const Sound &sound ); //addressee.setAgent( const Agent &agent ); QString cat = QString::fromUcs2( aItem->GetCategories().GetBuffer()).replace( QRegExp("\\r"), ""); + cat = cat.replace( QRegExp("; "), ";"); addressee.setCategories( QStringList::split( ";", cat )); QString phoneS; phoneS = QString::fromUcs2( aItem->GetAssistantTelephoneNumber().GetBuffer()); if ( ! phoneS.isEmpty()) addressee.insertPhoneNumber( KABC::PhoneNumber(phoneS ,KABC::PhoneNumber::Work + KABC::PhoneNumber::Voice ) ); phoneS = QString::fromUcs2( aItem->GetBusinessTelephoneNumber().GetBuffer()); |