-rw-r--r-- | libkcal/sharpformat.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index defdb09..89eb72f 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -182,4 +182,5 @@ class SharpParser : public QObject event->addAlarm( alarm ); + alarm->setType( Alarm::Audio ); } - alarm->setType( Alarm::Audio ); + //alarm->setType( Alarm::Audio ); alarm->setEnabled( true ); @@ -370,3 +371,4 @@ ulong SharpFormat::getCsum( const QStringList & attList) #include <stdlib.h> -#define DEBUGMODE false +//#define DEBUGMODE false +#define DEBUGMODE true bool SharpFormat::load( Calendar *calendar, Calendar *existngCal ) @@ -376,3 +378,2 @@ bool SharpFormat::load( Calendar *calendar, Calendar *existngCal ) bool debug = DEBUGMODE; - //debug = true; QString text; |