From 30762fe125216362e1a6c1d5ec5d22d9525aa336 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 14 Sep 2004 01:03:08 +0000 Subject: Many bugfixes --- (limited to 'libkcal/sharpformat.cpp') diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index defdb09..89eb72f 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -180,8 +180,9 @@ class SharpParser : public QObject else { alarm = new Alarm( event ); event->addAlarm( alarm ); + alarm->setType( Alarm::Audio ); } - alarm->setType( Alarm::Audio ); + //alarm->setType( Alarm::Audio ); alarm->setEnabled( true ); int alarmOffset = attList[9].toInt(); alarm->setStartOffset( alarmOffset * -60 ); @@ -368,13 +369,13 @@ ulong SharpFormat::getCsum( const QStringList & attList) } #include -#define DEBUGMODE false +//#define DEBUGMODE false +#define DEBUGMODE true bool SharpFormat::load( Calendar *calendar, Calendar *existngCal ) { bool debug = DEBUGMODE; - //debug = true; QString text; QString codec = "utf8"; QLabel status ( i18n("Reading events ..."), 0 ); -- cgit v0.9.0.2