forked from qt-creator/qt-creator
Rename IDocument::fileName --> filePath
That is what it actually is, wrt how Qt API calls it. Change-Id: Ied02055debf6aad75556b0d9d22e8ba2f72be555 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -330,7 +330,7 @@ ModelManagerInterface::WorkingCopy ModelManager::workingCopy() const
|
||||
return workingCopy;
|
||||
|
||||
foreach (Core::IEditor *editor, Core::ICore::editorManager()->openedEditors()) {
|
||||
const QString key = editor->document()->fileName();
|
||||
const QString key = editor->document()->filePath();
|
||||
|
||||
if (TextEditor::ITextEditor *textEditor = qobject_cast<TextEditor::ITextEditor*>(editor)) {
|
||||
if (textEditor->context().contains(ProjectExplorer::Constants::LANG_QMLJS)) {
|
||||
|
||||
Reference in New Issue
Block a user