[Bug 303069] KMail2 folders get indexed even when the Enable Full Text Indexing option is unchecked

Laurent Montel montel at kde.org
Sat Jul 7 10:59:57 BST 2012


https://bugs.kde.org/show_bug.cgi?id=303069

--- Comment #7 from Laurent Montel <montel at kde.org> ---
By default:
static inline bool indexingDisabled( const Collection &collection )
{
  if ( collection.hasAttribute<EntityHiddenAttribute>() )
    return true;

  IndexPolicyAttribute *indexPolicy =
collection.attribute<IndexPolicyAttribute>();
  if ( indexPolicy && !indexPolicy->indexingEnabled() )
    return true;

  if ( collection.isVirtual() )
    return true;

  // check if we have a plugin for the stuff in this collection
  foreach ( const QString &mimeType, collection.contentMimeTypes() ) {
    if ( mimeType == Collection::mimeType() )
     continue;
    if ( !FeederPluginloader::instance().feederPluginsForMimeType( mimeType
).isEmpty() )
      return false;
  }

  return true;
}

=> it's disabled. so it can't index.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list