-rw-r--r-- | kde2file/abdump/main.cpp | 3 | ||||
-rw-r--r-- | kde2file/caldump/main.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/kde2file/abdump/main.cpp b/kde2file/abdump/main.cpp index b359cfe..824d054 100644 --- a/kde2file/abdump/main.cpp +++ b/kde2file/abdump/main.cpp @@ -101,9 +101,10 @@ int main( int argc, char *argv[] ) KABC::AddressBook::Iterator it; KABC::VCardConverter converter; QString datastream; for( it = standardAddressBook->begin(); it != standardAddressBook->end(); ++it ) { - if ( (*it).isEmpty() || ! (*it).resource() ) + // if ( (*it).isEmpty() || ! (*it).resource() ) + if ( (*it).isEmpty() ) continue; KABC::Addressee a = ( *it ); QString vcard = converter.createVCard( a ); vcard += QString("\r\n"); diff --git a/kde2file/caldump/main.cpp b/kde2file/caldump/main.cpp index 9cc1a73..c8755cd 100644 --- a/kde2file/caldump/main.cpp +++ b/kde2file/caldump/main.cpp @@ -128,9 +128,10 @@ int main( int argc, char *argv[] ) Incidence::List::ConstIterator it; int num = 0; for( it = allInc.begin(); it != allInc.end(); ++it ) { ResourceCalendar * re = calendarResource->resource( (*it) ); - if ( re ) { + //if ( re ) + { ++num; Incidence* cl = (*it)->clone(); cl->setLastModified( (*it)->lastModified() ); if ( cl->type() == "Journal" ) |