forked from qt-creator/qt-creator
ProjectExplorer: Export findFileInSession()
Would be useful for https://github.com/JakeSays/QtCreatorTerminalPlugin/ Change-Id: I6629c95535b5ce7af8f9d486005f41598b8dff47 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -124,7 +124,7 @@ void Task::setFile(const Utils::FilePath &file_)
|
||||
{
|
||||
file = file_;
|
||||
if (!file.isEmpty() && !file.toFileInfo().isAbsolute()) {
|
||||
Utils::FilePathList possiblePaths = Internal::findFileInSession(file);
|
||||
Utils::FilePathList possiblePaths = findFileInSession(file);
|
||||
if (possiblePaths.length() == 1)
|
||||
file = possiblePaths.first();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user