Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 7b4716f..42bdbe2 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp | |||
@@ -23,4 +23,7 @@ | |||
23 | #include "repeatentry.h" | 23 | #include "repeatentry.h" |
24 | 24 | ||
25 | #include <opie2/odebug.h> | ||
26 | #include <opie2/otimepicker.h> | ||
27 | |||
25 | #include <qpe/qpeapplication.h> | 28 | #include <qpe/qpeapplication.h> |
26 | #include <qpe/categoryselect.h> | 29 | #include <qpe/categoryselect.h> |
@@ -31,5 +34,4 @@ | |||
31 | #include <qspinbox.h> | 34 | #include <qspinbox.h> |
32 | 35 | ||
33 | #include <opie2/otimepicker.h> | ||
34 | #include "onoteedit.h" | 36 | #include "onoteedit.h" |
35 | 37 | ||
@@ -430,5 +432,5 @@ Event DateEntry::event() | |||
430 | time_t start_utc, end_utc; | 432 | time_t start_utc, end_utc; |
431 | 433 | ||
432 | // qDebug( "tz: %s", timezone->currentZone().latin1() ); | 434 | //Opie::Core::odebug << "tz: " << timezone->currentZone() << oendl; |
433 | 435 | ||
434 | // get real timezone | 436 | // get real timezone |
@@ -438,5 +440,5 @@ Event DateEntry::event() | |||
438 | // set timezone | 440 | // set timezone |
439 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) | 441 | if ( setenv( "TZ", timezone->currentZone(), true ) != 0 ) |
440 | qWarning( "There was a problem setting the timezone." ); | 442 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; |
441 | 443 | ||
442 | // convert to UTC based on selected TZ (calling tzset internally) | 444 | // convert to UTC based on selected TZ (calling tzset internally) |
@@ -448,5 +450,5 @@ Event DateEntry::event() | |||
448 | if ( !realTZ.isNull() ) | 450 | if ( !realTZ.isNull() ) |
449 | if ( setenv( "TZ", realTZ, true ) != 0 ) | 451 | if ( setenv( "TZ", realTZ, true ) != 0 ) |
450 | qWarning( "There was a problem setting the timezone." ); | 452 | Opie::Core::owarn << "There was a problem setting the timezone." << oendl; |
451 | 453 | ||
452 | // convert UTC to local time (calling tzset internally) | 454 | // convert UTC to local time (calling tzset internally) |