[Bug 147602] New: Incidence::removeRelation does nothing, really
dev at staerk.de
Fri Jul 6 10:24:57 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: Incidence::removeRelation does nothing, really
Platform: Compiled Sources
AssignedTo: kdepim-bugs kde org
ReportedBy: dev staerk de
Version: (using KDE Devel)
Installed from: Compiled sources
When calling Incidence::removeRelation, nothing seems to happen. I wrote a test case for this:
/* test case for Incidence::removeRelation
(c) 2007 by Thorsten Staerk
This test case associates a todo with another, removes this relation
and shows if the removal was successful.
Compile it like this:
g++ -I/opt/kde3/include -I/usr/lib/qt3/include -lqt-mt -L/usr/lib/qt3/lib -lkcal -L/opt/kde3/lib main.cpp
KCal::Todo* i=new KCal::Todo();
KCal::Todo* b=new KCal::Todo();
kdDebug() << "b is now related to " << b->relatedTo() << endl;
kdDebug() << "I expect the following to be empty: " << b->relatedTo() << endl;
b->relatedTo stays something even after b->removeRelation.
More information about the Kdepim-bugs