-rw-r--r-- | libkcal/incidence.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 201f593..52d94fb 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp | |||
@@ -749,13 +749,14 @@ bool Incidence::isAlarmEnabled() const | |||
749 | } | 749 | } |
750 | #include <stdlib.h> | 750 | #include <stdlib.h> |
751 | Recurrence *Incidence::recurrence() | 751 | Recurrence *Incidence::recurrence() |
752 | { | 752 | { |
753 | if ( ! mRecurrence ) { | 753 | if ( ! mRecurrence ) { |
754 | mRecurrence = new Recurrence(this); | 754 | mRecurrence = new Recurrence(this); |
755 | qDebug("creating new recurence "); | 755 | mRecurrence->setRecurStart( dtStart() ); |
756 | //qDebug("creating new recurence "); | ||
756 | //abort(); | 757 | //abort(); |
757 | } | 758 | } |
758 | return mRecurrence; | 759 | return mRecurrence; |
759 | } | 760 | } |
760 | void Incidence::setRecurrence( Recurrence * r) | 761 | void Incidence::setRecurrence( Recurrence * r) |
761 | { | 762 | { |