summaryrefslogtreecommitdiffabout
path: root/libkcal/sharpformat.cpp
Side-by-side diff
Diffstat (limited to 'libkcal/sharpformat.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/sharpformat.cpp7
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
@@ -181,6 +181,7 @@ class SharpParser : public QObject
alarm = new Alarm( event );
event->addAlarm( alarm );
- }
alarm->setType( Alarm::Audio );
+ }
+ //alarm->setType( Alarm::Audio );
alarm->setEnabled( true );
int alarmOffset = attList[9].toInt();
@@ -369,5 +370,6 @@ 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 )
{
@@ -375,5 +377,4 @@ bool SharpFormat::load( Calendar *calendar, Calendar *existngCal )
bool debug = DEBUGMODE;
- //debug = true;
QString text;
QString codec = "utf8";