Changeset 703

Show
Ignore:
Timestamp:
10/04/05 22:07:29 (3 years ago)
Author:
drzeus
Message:

KCal now require explicit timezone

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/kdepim/src/kcal.cpp

    r455 r703  
    3434bool KCalDataSource::connect(OSyncContext *ctx) 
    3535{ 
    36     calendar = new KCal::CalendarResources(); 
     36    calendar = new KCal::CalendarResources(QString::fromLatin1( "UTC" )); 
    3737    if (!calendar) { 
    3838        osync_context_report_error(ctx, OSYNC_ERROR_GENERIC, "Can't open KDE calendar"); 
     
    196196              
    197197                printf("Adding1\n"); 
    198             KCal::CalendarLocal cal; 
     198            KCal::CalendarLocal cal(QString::fromLatin1( "UTC" )); 
    199199            QString data = QString::fromUtf8(osync_change_get_data(chg), osync_change_get_datasize(chg)); 
    200200            if (!format.fromString(&cal, data)) {