author | zautrix <zautrix> | 2004-09-20 15:25:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-20 15:25:04 (UTC) |
commit | 6b6a28919908134ccbb3badcb24c2dcae0d426a5 (patch) (side-by-side diff) | |
tree | 72b3f69fa1f40bd4cfbd945d9f41699229604ae6 /libkcal/incidence.cpp | |
parent | f222bd1339ac8323e3c99af84a6f83c21cacb8f8 (diff) | |
download | kdepimpi-6b6a28919908134ccbb3badcb24c2dcae0d426a5.zip kdepimpi-6b6a28919908134ccbb3badcb24c2dcae0d426a5.tar.gz kdepimpi-6b6a28919908134ccbb3badcb24c2dcae0d426a5.tar.bz2 |
Several bugfixes
-rw-r--r-- | libkcal/incidence.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 56c9801..55ac6d4 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp @@ -590,8 +590,12 @@ QDateTime Incidence::getNextOccurence( const QDateTime& dt, bool* ok ) const } else { if ( hasStartDate () ) { incidenceStart = dtStart(); - - } + } + if ( type() =="Todo" ) { + if ( ((Todo*)this)->hasDueDate() ) + incidenceStart = ((Todo*)this)->dtDue(); + + } } if ( incidenceStart > dt ) *ok = true; |