From d66acb51d0c8b511df9f679806cbd3d84cce41ef Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 14 Feb 2012 16:43:51 +0100 Subject: Rename IFile->IDocument and FileManager->DocumentManager And adapt the other API respectively. Change-Id: I1e04e555409be09242db6890f9e013396f83aeed Reviewed-by: Bill King Reviewed-by: Eike Ziller --- src/plugins/debugger/qml/qmlv8debuggerclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/debugger/qml/qmlv8debuggerclient.cpp') diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index 471eb42b76..3cd5e08f40 100644 --- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp +++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp @@ -1988,7 +1988,7 @@ void QmlV8DebuggerClient::highlightExceptionCode(int lineNumber, errorFormat.setUnderlineColor(Qt::red); foreach (IEditor *editor, openedEditors) { - if (editor->file()->fileName() == filePath) { + if (editor->document()->fileName() == filePath) { TextEditor::BaseTextEditorWidget *ed = qobject_cast(editor->widget()); if (!ed) continue; -- cgit v1.2.1