forked from qt-creator/qt-creator
		
	DocumentModel: Make interface static
Move item model implementation to private, adjust user code. Change-Id: Ifbe94e7c7b9b1e8be1b4c531958dbd7a9413af13 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
		| @@ -177,7 +177,7 @@ RefactoringFile::RefactoringFile(const QString &fileName, const QSharedPointer<R | ||||
|     , m_editorCursorPosition(-1) | ||||
|     , m_appliedOnce(false) | ||||
| { | ||||
|     QList<Core::IEditor *> editors = Core::EditorManager::documentModel()->editorsForFilePath(fileName); | ||||
|     QList<Core::IEditor *> editors = Core::DocumentModel::editorsForFilePath(fileName); | ||||
|     if (!editors.isEmpty()) | ||||
|         m_editor = qobject_cast<TextEditor::BaseTextEditorWidget *>(editors.first()->widget()); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user