author | zautrix <zautrix> | 2004-08-09 11:15:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-09 11:15:24 (UTC) |
commit | e0ba2d4770094974ec4a2a48af436a7df9a055bc (patch) (side-by-side diff) | |
tree | 52752d9fcff91934e43b27dd6926ead31c44f4f7 /libkcal/sharpformat.cpp | |
parent | 2d3e20244a156485f6001aa82c4494dfce177b8f (diff) | |
download | kdepimpi-e0ba2d4770094974ec4a2a48af436a7df9a055bc.zip kdepimpi-e0ba2d4770094974ec4a2a48af436a7df9a055bc.tar.gz kdepimpi-e0ba2d4770094974ec4a2a48af436a7df9a055bc.tar.bz2 |
more fixes
-rw-r--r-- | libkcal/sharpformat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index f8b066d..defdb09 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -176,32 +176,34 @@ class SharpParser : public QObject if ( attList[8] == "0" ) { Alarm *alarm; if ( event->alarms().count() > 0 ) alarm = event->alarms().first(); else { alarm = new Alarm( event ); event->addAlarm( alarm ); } alarm->setType( Alarm::Audio ); alarm->setEnabled( true ); int alarmOffset = attList[9].toInt(); alarm->setStartOffset( alarmOffset * -60 ); } else { Alarm *alarm; if ( event->alarms().count() > 0 ) { alarm = event->alarms().first(); + alarm->setType( Alarm::Audio ); + alarm->setStartOffset( -60*15 ); alarm->setEnabled( false ); } } mCalendar->addEvent( event); } else if ( qName == "Todo" ) { Todo *todo; todo = existingCalendar->todo( "Sharp_DTM", attList[0] ); if (todo ) todo = (Todo*)todo->clone(); else todo = new Todo; //CARDID,CATEGORY,ETDY,LTDY,FNDY,MARK,PRTY,TITL,MEM1 // 0 1 2 3 4 5 6 7 8 |