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:
@@ -902,7 +902,7 @@ void CallgrindToolPrivate::requestContextMenu(TextEditor::ITextEditor *editor, i
|
||||
// find callgrind text mark that corresponds to this editor's file and line number
|
||||
const Function *func = 0;
|
||||
foreach (CallgrindTextMark *textMark, m_textMarks) {
|
||||
if (textMark->fileName() == editor->file()->fileName() && textMark->lineNumber() == line) {
|
||||
if (textMark->fileName() == editor->document()->fileName() && textMark->lineNumber() == line) {
|
||||
func = textMark->function();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user