author | zautrix <zautrix> | 2005-11-25 22:51:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-11-25 22:51:38 (UTC) |
commit | 0e18027f386280bf427ef9d0ffec61a5516cebda (patch) (side-by-side diff) | |
tree | 91f93d724d141b9f087e4cef0c1a11e354ee389a /libkcal | |
parent | b71ee5442df23bb9900d3db6e6244773ee34ef13 (diff) | |
download | kdepimpi-0e18027f386280bf427ef9d0ffec61a5516cebda.zip kdepimpi-0e18027f386280bf427ef9d0ffec61a5516cebda.tar.gz kdepimpi-0e18027f386280bf427ef9d0ffec61a5516cebda.tar.bz2 |
sync
-rw-r--r-- | libkcal/calendarlocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index c33581c..c82ea92 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -972,33 +972,33 @@ Journal *CalendarLocal::journal( const QString &uid ) } QPtrList<Journal> CalendarLocal::journals() { QPtrList<Journal> el; for ( Journal *it = mJournalList.first(); it; it = mJournalList.next() ) if ( it->calEnabled() ) el.append( it ); return el; } void CalendarLocal::setCalendarRemove( int id ) { { QPtrList<Event> EventList = mEventList; Event * ev = EventList.first(); while ( ev ) { - if ( ev->calID() == id ) + if ( ev->calID() == id && ev->uid().left( 15 ) != QString("last-syncEvent-") ) deleteEvent( ev ); ev = EventList.next(); } } { QPtrList<Todo> TodoList = mTodoList; Todo * ev = TodoList.first(); while ( ev ) { if ( ev->calID() == id ) deleteTodo( ev ); ev = TodoList.next(); } } { QPtrList<Journal> JournalList = mJournalList; |