Commit 67cfdbd2 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

TextEditor: Use canonical path for opened document

Symlinks need to be resolved, similar to project paths resolving.

Task-number: QTCREATORBUG-15145
Change-Id: I034b99d2a34ddaa664ec6d97b9be76bd4131d706
Reviewed-by: default avatarChristian Stenger <>
parent caf1bec7
......@@ -655,7 +655,7 @@ Core::IDocument::OpenResult TextDocument::openImpl(QString *errorString, const Q
documentLayout->lastSaveRevision = d->m_autoSaveRevision = d->m_document.revision();
d->m_document.setModified(fileName != realFileName);
if (readResult == Utils::TextFileFormat::ReadIOError)
return OpenResult::ReadError;
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