summaryrefslogtreecommitdiffabout
path: root/korganizer/koimportoldialog.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koimportoldialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koimportoldialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koimportoldialog.cpp b/korganizer/koimportoldialog.cpp
index cc13395..c4d5f06 100644
--- a/korganizer/koimportoldialog.cpp
+++ b/korganizer/koimportoldialog.cpp
@@ -253,6 +253,6 @@ void KOImportOLdialog::ol2kopiCalendar( _AppointmentItem * aItem, bool computeRe
event->setLocation( QString::fromUcs2( aItem->GetLocation().GetBuffer()) );
event->setDescription( QString::fromUcs2( aItem->GetBody().GetBuffer()).replace( QRegExp("\\r"), "") );
- QString cat = QString::fromUcs2( aItem->GetCategories().GetBuffer());
- event->setCategories( QStringList::split( ";", cat ));
+ QString cat = QString::fromUcs2( aItem->GetCategories().GetBuffer()).replace( QRegExp("; "), ";");
+ event->setCategories( QStringList::split( ";", cat ) );
if ( aItem->GetReminderSet() ) {
event->clearAlarms();