Commit 2e9caf66 authored by Marcel Krems's avatar Marcel Krems Committed by Jarek Kobus

ProFileEditor: Fix follow symbol to use clean paths

Change-Id: I961b7e220d7e6d59b666bb9568ab90a37554b98c
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@digia.com>
parent d1ad1c30
......@@ -181,7 +181,7 @@ ProFileEditorWidget::Link ProFileEditorWidget::findLinkAt(const QTextCursor &cur
else
return link;
}
link.fileName = fileName;
link.fileName = QDir::cleanPath(fileName);
link.begin = cursor.position() - positionInBlock + beginPos + 1;
link.end = cursor.position() - positionInBlock + endPos;
}
......
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