summaryrefslogtreecommitdiffstats
path: root/libkcal/calendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendar.cpp')
-rw-r--r--libkcal/calendar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/calendar.cpp b/libkcal/calendar.cpp
index 9d9b63f4e..a5f919324 100644
--- a/libkcal/calendar.cpp
+++ b/libkcal/calendar.cpp
@@ -475,12 +475,12 @@ bool Calendar::deleteIncidence( Incidence *incidence )
if ( beginChange( incidence ) ) {
if (incidence->hasRecurrenceID()) {
// Delete this event's UID from the tqparent's list of tqchildren
- Incidence *tqparentIncidence;
+ Incidence *parentIncidence;
IncidenceList il = incidence->childIncidences();
IncidenceListIterator it;
it = il.begin();
- tqparentIncidence = this->incidence(*it);
- tqparentIncidence->deleteChildIncidence(incidence->uid());
+ parentIncidence = this->incidence(*it);
+ parentIncidence->deleteChildIncidence(incidence->uid());
}
else {
// Delete all tqchildren as well