-rw-r--r-- | libkcal/incidence.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 56c9801..55ac6d4 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp | |||
@@ -590,6 +590,10 @@ QDateTime Incidence::getNextOccurence( const QDateTime& dt, bool* ok ) const | |||
590 | } else { | 590 | } else { |
591 | if ( hasStartDate () ) { | 591 | if ( hasStartDate () ) { |
592 | incidenceStart = dtStart(); | 592 | incidenceStart = dtStart(); |
593 | } | ||
594 | if ( type() =="Todo" ) { | ||
595 | if ( ((Todo*)this)->hasDueDate() ) | ||
596 | incidenceStart = ((Todo*)this)->dtDue(); | ||
593 | 597 | ||
594 | } | 598 | } |
595 | } | 599 | } |