summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-08-07 15:02:15 (UTC)
committer zautrix <zautrix>2004-08-07 15:02:15 (UTC)
commita9a774e19c02f03de948b6064804b913abd4f08b (patch) (side-by-side diff)
tree351a08e627bc661f9b69a0af7452f9749865e619
parent31764784e8753157a936e42e21dcdc41bd8e2eb7 (diff)
downloadkdepimpi-a9a774e19c02f03de948b6064804b913abd4f08b.zip
kdepimpi-a9a774e19c02f03de948b6064804b913abd4f08b.tar.gz
kdepimpi-a9a774e19c02f03de948b6064804b913abd4f08b.tar.bz2
more Sync fixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp5
-rw-r--r--libkcal/sharpformat.cpp2
2 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 5150455..f859b90 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -888,6 +888,8 @@ void CalendarView::setupExternSyncProfiles()
void CalendarView::checkExternSyncEvent( QPtrList<Event> lastSync , Incidence* toDelete )
{
- if ( ! lastSync.count() == 0 )
+ if ( lastSync.count() == 0 ) {
+ //qDebug(" lastSync.count() == 0");
return;
+ }
if ( toDelete->type() == "Journal" )
return;
@@ -905,4 +907,5 @@ void CalendarView::checkExternSyncEvent( QPtrList<Event> lastSync , Incidence* t
eve->setReadOnly( false );
eve->setDescription( des );
+ //qDebug("setdes %s ", des.latin1());
eve->setReadOnly( true );
}
diff --git a/libkcal/sharpformat.cpp b/libkcal/sharpformat.cpp
index ebfe164..4e54fdf 100644
--- a/libkcal/sharpformat.cpp
+++ b/libkcal/sharpformat.cpp
@@ -359,5 +359,5 @@ ulong SharpFormat::getCsum( const QStringList & attList)
}
#include <stdlib.h>
-#define DEBUGMODE true
+#define DEBUGMODE false
bool SharpFormat::load( Calendar *calendar, Calendar *existngCal )
{