Summary: | Incidence::removeRelation does nothing, really | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Thorsten Staerk <dev> |
Component: | calendar | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | CVS | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thorsten Staerk
2007-07-06 11:24:55 UTC
I fixed this for trunk, see http://websvn.kde.org/trunk/KDE/kdepimlibs/kcal/incidence.cpp?r1=663415&r2=675345 >I fixed this for trunk
Excellent. Can you backport that to 3.5 branch as well?
Or should someone else do that? (probably the KCal maintainer, whoever that is)
I can backport it to trunk, I just wanted to have a "go ahead" from someone. Thanks. SVN commit 687820 by tstaerk: Really remove relatedUids. BUGS:147602 --This linie, and those below, will be ignored-- M libkcal/incidence.cpp M +3 -0 incidence.cpp --- branches/KDE/3.5/kdepim/libkcal/incidence.cpp #687819:687820 @@ -321,9 +321,12 @@ } void Incidence::removeRelation(Incidence *event) +// Remove the relation of our incident. E.g. if you have a task t and a +// subtask, the subtask will have its relation to the task t. { mRelations.removeRef(event); // if (event->getRelatedTo() == this) event->setRelatedTo(0); + mRelatedToUid=QString(); } |