forked from qt-creator/qt-creator
Fixes: Build Issue doesn't respect the project encoding settings
Task: 243866 Details: Patch by Kris Wong.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user