Commit 109ce6ef authored by Eike Ziller's avatar Eike Ziller

Revert "TextEditor: Use canonical path for opened document"

This reverts commit 67cfdbd2.
We cannot just resolve symlinks when opening files.
The resolved name might not have much to do with the name of
the symlink (e.g. some version control systems do that).

Change-Id: I373bfc3d4474fe6b7ef4723de254293665fe87ea
Reviewed-by: default avatarChristian Stenger <>
parent 91cd7b9a
......@@ -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