-rw-r--r-- | libkcal/sharpformat.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index 4e54fdf..f8b066d 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -166,4 +166,6 @@ class SharpParser : public QObject r->addYearlyNum( startDate.month() ); } + } else { + event->recurrence()->unsetRecurs(); } @@ -184,4 +186,10 @@ class SharpParser : public QObject int alarmOffset = attList[9].toInt(); alarm->setStartOffset( alarmOffset * -60 ); + } else { + Alarm *alarm; + if ( event->alarms().count() > 0 ) { + alarm = event->alarms().first(); + alarm->setEnabled( false ); + } } |