author | zautrix <zautrix> | 2005-07-26 21:02:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-26 21:02:59 (UTC) |
commit | cdd39d566d5d054edf26bd142d6be05cb35451dd (patch) (unidiff) | |
tree | 33f1b061fc033b690fa8f40e171e1ebe00ee692f /libkcal | |
parent | c7b8804b49e463d42f0bd5aec4b638187190417a (diff) | |
download | kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.zip kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.tar.gz kdepimpi-cdd39d566d5d054edf26bd142d6be05cb35451dd.tar.bz2 |
journal fix
-rw-r--r-- | libkcal/icalformatimpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp index 3e28714..4794bc9 100644 --- a/libkcal/icalformatimpl.cpp +++ b/libkcal/icalformatimpl.cpp | |||
@@ -1022,8 +1022,11 @@ Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) | |||
1022 | Journal *journal = new Journal; | 1022 | Journal *journal = new Journal; |
1023 | 1023 | ||
1024 | readIncidence(vjournal,journal); | 1024 | readIncidence(vjournal,journal); |
1025 | 1025 | ||
1026 | if ( !journal->dtStart().isValid() && journal->created().isValid() ) { | ||
1027 | journal->setDtStart( journal->created() ); | ||
1028 | } | ||
1026 | return journal; | 1029 | return journal; |
1027 | } | 1030 | } |
1028 | 1031 | ||
1029 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) | 1032 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) |