--- libkcal/recurrence.cpp-- 2005-04-15 20:07:29.000000000 +0200 +++ libkcal/recurrence.cpp 2005-04-15 20:09:22.000000000 +0200 @@ -572,7 +572,7 @@ void Recurrence::setMonthly(short type, void Recurrence::addMonthlyPos(short _rPos, const QBitArray &_rDays) { - if (recurs == rMonthlyPos) + if (recurs == rMonthlyPos || recurs == rYearlyPos) addMonthlyPos_(_rPos, _rDays); } @@ -3532,4 +3532,9 @@ void Recurrence::dump() const kdDebug(5800) << " " << i << ": " << ( rDays.testBit( i ) ? "true" : "false" ) << endl; } +kdDebug(5800) << " duration: " << rDuration << endl; + + for (QPtrListIterator<int> it(rMonthDays); it.current(); ++it) { + kdDebug(5800) << " monthday: " << *(it.current()) << endl; + } }