forked from qt-creator/qt-creator
ProjectExplorer: Do not try to resolve file name for internals
like <command line> or <built-in>. Change-Id: I7d0dc63b2ce54f8d92cba248d504d8124a3689a7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
db4b145536
commit
9acad59778
@@ -370,7 +370,7 @@ void AbstractProcessStep::taskAdded(const Task &task, int linkedOutputLines, int
|
|||||||
|
|
||||||
Task editable(task);
|
Task editable(task);
|
||||||
QString filePath = task.file.toString();
|
QString filePath = task.file.toString();
|
||||||
if (!filePath.isEmpty() && !QDir::isAbsolutePath(filePath)) {
|
if (!filePath.isEmpty() && !filePath.startsWith('<') && !QDir::isAbsolutePath(filePath)) {
|
||||||
// We have no save way to decide which file in which subfolder
|
// We have no save way to decide which file in which subfolder
|
||||||
// is meant. Therefore we apply following heuristics:
|
// is meant. Therefore we apply following heuristics:
|
||||||
// 1. Check if file is unique in whole project
|
// 1. Check if file is unique in whole project
|
||||||
|
|||||||
Reference in New Issue
Block a user