Diffstat (limited to 'korganizer/koeditorrecurrence.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeditorrecurrence.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp index e165017..dea8981 100644 --- a/korganizer/koeditorrecurrence.cpp +++ b/korganizer/koeditorrecurrence.cpp @@ -872,5 +872,5 @@ void KOEditorRecurrence::readEvent(Incidence *event) QDateTime dtEnd; - if ( event->type() == "Event" ) + if ( event->typeID() == eventID ) dtEnd = ((Event*)event)->dtEnd(); else |