Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepimlibs4
r898353.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r898353.diff of Package kdepimlibs4
Subject: Fixes an assert crash when unloading and then loading a vCal resource From: wstephenson@suse.de Bug: Patch-upstream: 898353 --- kcal/vcalformat.cpp (revision 898352) +++ kcal/vcalformat.cpp (revision 898353) @@ -1543,6 +1543,13 @@ void VCalFormat::populate( VObject *vcal } } else if ( strcmp( vObjectName( curVO ), VCTodoProp ) == 0 ) { Todo *aTodo = VTodoToEvent( curVO ); + + Todo *old = d->mCalendar->todo( aTodo->uid() ); + if ( old ) { + d->mCalendar->deleteTodo( old ); + d->mTodosRelate.removeAll( old ); + } + d->mCalendar->addTodo( aTodo ); } else if ( ( strcmp( vObjectName( curVO ), VCVersionProp ) == 0 ) || ( strcmp( vObjectName( curVO ), VCProdIdProp ) == 0 ) || Index: kcal/vcalformat.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor