-rw-r--r-- | kde2file/caldump/main.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kde2file/caldump/main.cpp b/kde2file/caldump/main.cpp index 8d81307..03571b9 100644 --- a/kde2file/caldump/main.cpp +++ b/kde2file/caldump/main.cpp @@ -120,3 +120,3 @@ int main( int argc, char *argv[] ) qDebug("************************************* "); - qDebug("Using timezone id: %s", calendarResource->timeZoneId().latin1()); + qDebug("Using timezone ID: %s", calendarResource->timeZoneId().latin1()); @@ -154,2 +154,3 @@ int main( int argc, char *argv[] ) } else { + qDebug("*************************load"); localCalendar = new CalendarLocal(); @@ -162,2 +163,3 @@ int main( int argc, char *argv[] ) if ( storage->load() ) { + qDebug("*************************loaded!"); KCal::Incidence::List newInc = localCalendar->rawIncidences(); @@ -200,2 +202,3 @@ int main( int argc, char *argv[] ) } + } KCal::Incidence::List allInc = calendarResource->rawIncidences(); @@ -221,3 +224,3 @@ int main( int argc, char *argv[] ) } - } + calendarResource->save(); @@ -229,3 +232,3 @@ int main( int argc, char *argv[] ) } else - qDebug("error loading file /tmp/kdedumpall.ics"); + qDebug("ERROR loading file %s",fileName.latin1() ); |