diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 0007f7296d1e988d6a1e8c14edaa19191247174f..200d0ff626ed061c98be7a41131939d1b1a51265 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -958,7 +958,7 @@ template <class EditorFactoryLike> inline EditorFactoryLike *findByKind(ExtensionSystem::PluginManager *pm, const QString &kind) { - foreach(EditorFactoryLike *efl, pm->getObjects<EditorFactoryLike>()) + foreach(EditorFactoryLike *efl, pm->template getObjects<EditorFactoryLike>()) if (kind == efl->kind()) return efl; return 0;