From ef11b9d4de01d601bfcfb8efacb0aeff1e657edb Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 10 Apr 2005 13:17:21 +0000 Subject: fix --- (limited to 'libkcal/calendar.cpp') diff --git a/libkcal/calendar.cpp b/libkcal/calendar.cpp index 406cd48..ed39ddb 100644 --- a/libkcal/calendar.cpp +++ b/libkcal/calendar.cpp @@ -335,7 +335,15 @@ QPtrList Calendar::events() mFilter->apply(&el); return el; } - +void Calendar::addIncidenceBranch(Incidence *i) +{ + addIncidence( i ); + Incidence * inc; + QPtrList Relations = i->relations(); + for (inc=Relations.first();inc;inc=Relations.next()) { + addIncidenceBranch( inc ); + } +} bool Calendar::addIncidence(Incidence *i) { -- cgit v0.9.0.2