forked from qt-creator/qt-creator
C++ editor: Remove scanning/caching of includes
With the completion now in a separate thread this should no longer be necessary. Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -149,11 +149,6 @@ void CppToolsPlugin::extensionsInitialized()
|
||||
m_fileSettings->fromSettings(Core::ICore::instance()->settings());
|
||||
if (!m_fileSettings->applySuffixesToMimeDB())
|
||||
qWarning("Unable to apply cpp suffixes to mime database (cpp mime types not found).\n");
|
||||
|
||||
// Initialize header suffixes
|
||||
const Core::MimeDatabase *mimeDatabase = Core::ICore::instance()->mimeDatabase();
|
||||
const Core::MimeType mimeType = mimeDatabase->findByType(QLatin1String("text/x-c++hdr"));
|
||||
m_modelManager->setHeaderSuffixes(mimeType.suffixes());
|
||||
}
|
||||
|
||||
ExtensionSystem::IPlugin::ShutdownFlag CppToolsPlugin::aboutToShutdown()
|
||||
|
||||
Reference in New Issue
Block a user