summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-19 09:51:20 (UTC)
committer zautrix <zautrix>2005-04-19 09:51:20 (UTC)
commite85a7af11a0ec70e2e3346b95568737117be7fa4 (patch) (side-by-side diff)
tree92d77b4168a1d4ced3a4de180bce2d69b8f20969
parent5d7012677b05091bbf16c7405f792bf02720d775 (diff)
downloadkdepimpi-e85a7af11a0ec70e2e3346b95568737117be7fa4.zip
kdepimpi-e85a7af11a0ec70e2e3346b95568737117be7fa4.tar.gz
kdepimpi-e85a7af11a0ec70e2e3346b95568737117be7fa4.tar.bz2
imp fix
Diffstat (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
@@ -251,10 +251,10 @@ void KOImportOLdialog::ol2kopiCalendar( _AppointmentItem * aItem, bool computeRe
}
event->setSummary( QString::fromUcs2( aItem->GetSubject().GetBuffer()) );
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();
Alarm* alarm = event->newAlarm();
alarm->setStartOffset( -aItem->GetReminderMinutesBeforeStart()*60 );