-rw-r--r-- | libkcal/phoneformat.cpp | 8 | ||||
-rw-r--r-- | libkcal/sharpformat.cpp | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libkcal/phoneformat.cpp b/libkcal/phoneformat.cpp index 94744fb..bc1b863 100644 --- a/libkcal/phoneformat.cpp +++ b/libkcal/phoneformat.cpp @@ -160,3 +160,3 @@ public: } - QString alarmString = ""; + QString alarmString = "na"; if ( alarm ) { @@ -178,2 +178,4 @@ public: alarm = todo->alarms().first(); + alarm->setType( Alarm::Audio ); + alarm->setStartOffset( -60*15 ); alarm->setEnabled( false ); @@ -443,3 +445,3 @@ public: event->setCategories( categoryList ); - QString alarmString = ""; + QString alarmString = "na"; // strange 0 semms to mean: alarm enabled @@ -462,2 +464,4 @@ public: alarm = event->alarms().first(); + alarm->setType( Alarm::Audio ); + alarm->setStartOffset( -60*15 ); alarm->setEnabled( false ); diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index f8b066d..defdb09 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -191,2 +191,4 @@ class SharpParser : public QObject alarm = event->alarms().first(); + alarm->setType( Alarm::Audio ); + alarm->setStartOffset( -60*15 ); alarm->setEnabled( false ); |