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:
@@ -908,7 +908,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->document()->fileName() && textMark->lineNumber() == line) {
|
||||
if (textMark->fileName() == editor->document()->filePath() && textMark->lineNumber() == line) {
|
||||
func = textMark->function();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user