diff options
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixassistant.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppquickfixassistant.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppquickfixassistant.cpp b/src/plugins/cppeditor/cppquickfixassistant.cpp index 41e52db9f6..8063201bd7 100644 --- a/src/plugins/cppeditor/cppquickfixassistant.cpp +++ b/src/plugins/cppeditor/cppquickfixassistant.cpp @@ -78,8 +78,7 @@ IAssistProcessor *CppQuickFixAssistProvider::createProcessor() const QList<TextEditor::QuickFixFactory *> CppQuickFixAssistProvider::quickFixFactories() const { QList<TextEditor::QuickFixFactory *> results; - ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance(); - foreach (CppQuickFixFactory *f, pm->getObjects<CppEditor::CppQuickFixFactory>()) + foreach (CppQuickFixFactory *f, ExtensionSystem::PluginManager::getObjects<CppEditor::CppQuickFixFactory>()) results.append(f); return results; } |