summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-01-26 05:02:50 (UTC)
committer zautrix <zautrix>2005-01-26 05:02:50 (UTC)
commitebe38bec081a9ab226ea0de7e38ac2377d6bd1c0 (patch) (unidiff)
tree397f39fbd4601b5f3895309edef93b1c24e32b9a
parentc3e40c9baa61009469022a87e9cd068734899bcc (diff)
downloadkdepimpi-ebe38bec081a9ab226ea0de7e38ac2377d6bd1c0.zip
kdepimpi-ebe38bec081a9ab226ea0de7e38ac2377d6bd1c0.tar.gz
kdepimpi-ebe38bec081a9ab226ea0de7e38ac2377d6bd1c0.tar.bz2
urgggg
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kde2file/caldump/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde2file/caldump/main.cpp b/kde2file/caldump/main.cpp
index 08ccafb..9cc1a73 100644
--- a/kde2file/caldump/main.cpp
+++ b/kde2file/caldump/main.cpp
@@ -124,17 +124,17 @@ int main( int argc, char *argv[] )
124 if ( !read ) { 124 if ( !read ) {
125 localCalendar = new CalendarLocal(); 125 localCalendar = new CalendarLocal();
126 localCalendar->setTimeZoneId( calendarResource->timeZoneId()); 126 localCalendar->setTimeZoneId( calendarResource->timeZoneId());
127 KCal::Incidence::List allInc = calendarResource->rawIncidences(); 127 KCal::Incidence::List allInc = calendarResource->rawIncidences();
128 Incidence::List::ConstIterator it; 128 Incidence::List::ConstIterator it;
129 int num = 0; 129 int num = 0;
130 for( it = allInc.begin(); it != allInc.end(); ++it ) { 130 for( it = allInc.begin(); it != allInc.end(); ++it ) {
131 ResourceCalendar * re = calendarResource->resource( (*it) ); 131 ResourceCalendar * re = calendarResource->resource( (*it) );
132 if ( re && /*!re->readOnly() now readonly syncing possible */) { 132 if ( re ) {
133 ++num; 133 ++num;
134 Incidence* cl = (*it)->clone(); 134 Incidence* cl = (*it)->clone();
135 cl->setLastModified( (*it)->lastModified() ); 135 cl->setLastModified( (*it)->lastModified() );
136 if ( cl->type() == "Journal" ) 136 if ( cl->type() == "Journal" )
137 localCalendar->addJournal( (Journal *) cl ); 137 localCalendar->addJournal( (Journal *) cl );
138 else if ( cl->type() == "Todo" ) 138 else if ( cl->type() == "Todo" )
139 localCalendar->addTodo( (Todo *) cl ); 139 localCalendar->addTodo( (Todo *) cl );
140 else if ( cl->type() == "Event" ) 140 else if ( cl->type() == "Event" )