diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-05-17 10:03:55 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-05-17 08:25:02 +0000 |
commit | 9acad59778cbf20c0dd251d04227dc34855d948c (patch) | |
tree | fffbc527690897053ffa8b088b46e1b8bd98b9ec /src/plugins/projectexplorer/abstractprocessstep.cpp | |
parent | db4b145536a837c63f810967d73fc7946df3edb1 (diff) |
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>
Diffstat (limited to 'src/plugins/projectexplorer/abstractprocessstep.cpp')
-rw-r--r-- | src/plugins/projectexplorer/abstractprocessstep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp index d0da2990fe..f8ed59b89a 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.cpp +++ b/src/plugins/projectexplorer/abstractprocessstep.cpp @@ -370,7 +370,7 @@ void AbstractProcessStep::taskAdded(const Task &task, int linkedOutputLines, int Task editable(task); 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 // is meant. Therefore we apply following heuristics: // 1. Check if file is unique in whole project |