summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp5
1 files changed, 4 insertions, 1 deletions
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<Event> 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<Event> lastSync , Incidence* t
des += pref+ id + ",";
eve->setReadOnly( false );
eve->setDescription( des );
+ //qDebug("setdes %s ", des.latin1());
eve->setReadOnly( true );
}
eve = lastSync.next();