106
106
if ( KCalPrefs::instance()->mArchiveTodos ) {
107
107
Akonadi::Item::List t = calendar->rawTodos();
108
108
Akonadi::Item::List::ConstIterator it;
110
112
const Todo::Ptr todo = CalendarSupport::todo( *it );
112
114
if ( isSubTreeComplete( calendar, todo, limitDate ) ) {