From a9a774e19c02f03de948b6064804b913abd4f08b Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 07 Aug 2004 15:02:15 +0000 Subject: more Sync fixes --- diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 5150455..f859b90 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -887,8 +887,10 @@ void CalendarView::setupExternSyncProfiles() // if yes, we set this id in the profile to delete void CalendarView::checkExternSyncEvent( QPtrList lastSync , Incidence* toDelete ) { - if ( ! lastSync.count() == 0 ) + if ( lastSync.count() == 0 ) { + //qDebug(" lastSync.count() == 0"); return; + } if ( toDelete->type() == "Journal" ) return; @@ -904,6 +906,7 @@ void CalendarView::checkExternSyncEvent( QPtrList lastSync , Incidence* t des += pref+ id + ","; eve->setReadOnly( false ); eve->setDescription( des ); + //qDebug("setdes %s ", des.latin1()); eve->setReadOnly( true ); } eve = lastSync.next(); diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp index ebfe164..4e54fdf 100644 --- a/libkcal/sharpformat.cpp +++ b/libkcal/sharpformat.cpp @@ -358,7 +358,7 @@ ulong SharpFormat::getCsum( const QStringList & attList) } #include -#define DEBUGMODE true +#define DEBUGMODE false bool SharpFormat::load( Calendar *calendar, Calendar *existngCal ) { -- cgit v0.9.0.2