Commit d23d81f9 authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppTools: Locator: Do not index *.moc files

The symbols of these files do not provide much value.

Change-Id: Ie81b12dc795c068742600e272807f9e6a87609ea
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@theqtcompany.com>
parent 1c12b30b
......@@ -61,7 +61,7 @@ void CppLocatorData::onDocumentUpdated(const CPlusPlus::Document::Ptr &document)
}
}
if (i == ei)
if (i == ei && QFileInfo(document->fileName()).suffix() != QLatin1String("moc"))
m_pendingDocuments.append(document);
flushPendingDocument(false);
......
Markdown is supported
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