Don't add singleton model manager to object pool.

Change-Id: Iffca99867b25500fc77bbcf1e17a50a7cc4cf832
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Eike Ziller
2012-05-04 10:56:54 +02:00
parent 5539ed41ac
commit 2ae6d86e07
12 changed files with 15 additions and 56 deletions

View File

@@ -65,7 +65,7 @@ QmlJSQuickFixOperation::~QmlJSQuickFixOperation()
void QmlJSQuickFixOperation::perform()
{
QmlJSRefactoringChanges refactoring(ExtensionSystem::PluginManager::instance()->getObject<QmlJS::ModelManagerInterface>(),
QmlJSRefactoringChanges refactoring(QmlJS::ModelManagerInterface::instance(),
m_interface->semanticInfo().snapshot);
QmlJSRefactoringFilePtr current = refactoring.file(fileName());