author | christophe <christophe> | 2004-07-30 09:50:15 (UTC) |
---|---|---|
committer | christophe <christophe> | 2004-07-30 09:50:15 (UTC) |
commit | b099a3dd18571fcbd5b1211f18ac111ec39f9ce8 (patch) (unidiff) | |
tree | 2b63e0043a5d535690fa3017f0489ba41bc797af | |
parent | 52b1ae9281920cf5a40fe543112d8b00e7699ef6 (diff) | |
download | opie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.zip opie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.tar.gz opie-b099a3dd18571fcbd5b1211f18ac111ec39f9ce8.tar.bz2 |
ev is not required.
-rw-r--r-- | libopie2/opiepim/core/opimevent.cpp | 6 |
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 | |||
@@ -640,16 +640,16 @@ void OPimEvent::fromMap( const QMap<int, QString>& map ) | |||
640 | OPimTimeZone utc = OPimTimeZone::utc(); | 640 | OPimTimeZone utc = OPimTimeZone::utc(); |
641 | setStartDateTime(utc.toDateTime( start ) ); | 641 | setStartDateTime(utc.toDateTime( start ) ); |
642 | setEndDateTime ( utc.toDateTime( end ) ); | 642 | setEndDateTime ( utc.toDateTime( end ) ); |
643 | } | 643 | } |
644 | else { | 644 | else { |
645 | /* to current date time */ | 645 | /* to current date time */ |
646 | OPimTimeZone to_zone( ev.timeZone().isEmpty() ? OPimTimeZone::utc() : OPimTimeZone::current() ); | 646 | OPimTimeZone to_zone( timeZone().isEmpty() ? OPimTimeZone::utc() : OPimTimeZone::current() ); |
647 | 647 | ||
648 | ev.setStartDateTime(to_zone.toDateTime( start)); | 648 | setStartDateTime(to_zone.toDateTime( start)); |
649 | ev.setEndDateTime (to_zone.toDateTime( end)); | 649 | setEndDateTime (to_zone.toDateTime( end)); |
650 | } | 650 | } |
651 | 651 | ||
652 | int alarmTime = -1; | 652 | int alarmTime = -1; |
653 | if ( !map[ OPimEvent::FAlarm ].isEmpty() ) | 653 | if ( !map[ OPimEvent::FAlarm ].isEmpty() ) |
654 | alarmTime = map[ OPimEvent::FAlarm ].toInt(); | 654 | alarmTime = map[ OPimEvent::FAlarm ].toInt(); |
655 | 655 | ||