Commit cda2ccad authored by Vishesh Handa's avatar Vishesh Handa
Browse files

FileMetaDataProvider: Check if indexing disabled before calling IndexedDataRetriever

Patch submitted by Wolfgang Bauer <>

CCBUG: 332065
parent 9f2b952b
......@@ -352,7 +352,7 @@ void FileMetaDataProvider::setItems(const KFileItemList& items)
const KFileItem item = items.first();
const QString url = item.localPath();
if (!d->m_config.shouldBeIndexed(url)) {
if (!d->m_config.fileIndexingEnabled() || !d->m_config.shouldBeIndexed(url)) {
IndexedDataRetriever *ret = new IndexedDataRetriever(url, this);
connect(ret, SIGNAL(finished(KJob*)), this, SLOT(slotLoadingFinished(KJob*)));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment