Commit 1f3293ea authored by dt's avatar dt

Fixes: Build Issue doesn't respect the project encoding settings

Task:     243866
Details:  Patch by Kris Wong.
parent 4bddbdb5
......@@ -334,8 +334,9 @@ void TaskWindow::showTaskInFile(const QModelIndex &index)
if (file.isEmpty() || line == -1)
return;
if (QFileInfo(file).exists()) {
TextEditor::BaseTextEditor::openEditorAt(file, line);
QFileInfo fi(file);
if (fi.exists()) {
TextEditor::BaseTextEditor::openEditorAt(fi.canonicalFilePath(), line);
Core::EditorManager::instance()->ensureEditorManagerVisible();
}
else
......
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