summaryrefslogtreecommitdiff
path: root/libopie2
authorchristophe <christophe>2004-07-30 09:50:15 (UTC)
committer christophe <christophe>2004-07-30 09:50:15 (UTC)
commitb099a3dd18571fcbd5b1211f18ac111ec39f9ce8 (patch) (side-by-side diff)
tree2b63e0043a5d535690fa3017f0489ba41bc797af /libopie2
parent52b1ae9281920cf5a40fe543112d8b00e7699ef6 (diff)
downloadopie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.zip
opie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.tar.gz
opie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.tar.bz2
ev is not required.
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimevent.cpp6
1 files changed, 3 insertions, 3 deletions
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<int, QString>& 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;