forked from qt-creator/qt-creator
Rename IFile->IDocument and FileManager->DocumentManager
And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King <bill.king@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -209,7 +209,7 @@ ModelManagerInterface::WorkingCopy ModelManager::workingCopy() const
|
||||
return workingCopy;
|
||||
|
||||
foreach (Core::IEditor *editor, Core::ICore::editorManager()->openedEditors()) {
|
||||
const QString key = editor->file()->fileName();
|
||||
const QString key = editor->document()->fileName();
|
||||
|
||||
if (TextEditor::ITextEditor *textEditor = qobject_cast<TextEditor::ITextEditor*>(editor)) {
|
||||
if (textEditor->context().contains(ProjectExplorer::Constants::LANG_QMLJS)) {
|
||||
|
||||
Reference in New Issue
Block a user