Commit aa11eb89 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed jumping internally-defined symbols ("<configuration>" file).

Reviewed-by: Christian Kamm
parent 5e28dad5
...@@ -1337,7 +1337,7 @@ CPPEditor::Link CPPEditor::findLinkAt(const QTextCursor &cursor, ...@@ -1337,7 +1337,7 @@ CPPEditor::Link CPPEditor::findLinkAt(const QTextCursor &cursor,
} else { } else {
// Handle macro uses // Handle macro uses
const Document::MacroUse *use = doc->findMacroUseAt(endOfToken - 1); const Document::MacroUse *use = doc->findMacroUseAt(endOfToken - 1);
if (use) { if (use && use->macro().fileName() != QLatin1String("<configuration>")) {
const Macro &macro = use->macro(); const Macro &macro = use->macro();
link.fileName = macro.fileName(); link.fileName = macro.fileName();
link.line = macro.line(); link.line = macro.line();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment