From b099a3dd18571fcbd5b1211f18ac111ec39f9ce8 Mon Sep 17 00:00:00 2001 From: christophe Date: Fri, 30 Jul 2004 09:50:15 +0000 Subject: ev is not required. --- (limited to 'libopie2/opiepim/core/opimevent.cpp') diff --git a/libopie2/opiepim/core/opimevent.cpp b/libopie2/opiepim/core/opimevent.cpp index 739cb6f..c656c3d 100644 --- a/libopie2/opiepim/core/opimevent.cpp +++ b/libopie2/opiepim/core/opimevent.cpp @@ -643,10 +643,10 @@ void OPimEvent::fromMap( const QMap& map ) } else { /* to current date time */ - OPimTimeZone to_zone( ev.timeZone().isEmpty() ? OPimTimeZone::utc() : OPimTimeZone::current() ); + OPimTimeZone to_zone( timeZone().isEmpty() ? OPimTimeZone::utc() : OPimTimeZone::current() ); - ev.setStartDateTime(to_zone.toDateTime( start)); - ev.setEndDateTime (to_zone.toDateTime( end)); + setStartDateTime(to_zone.toDateTime( start)); + setEndDateTime (to_zone.toDateTime( end)); } int alarmTime = -1; -- cgit v0.9.0.2