Files
qt-creator/src/libs/utils/fileinprojectfinder.cpp
Andre Hartmann 2bb24633ac FileInProjectFinder: Fix findFile() for nonexisting files
The comment above this function says:

 If all fails, it returns the original path
 from the file URL.

That broke with 7b0b4c92cd, which caused the auto
tests in QtSupportPlugin::testQtOutputFormatter
to fail.

Fixes: QTCREATORBUG-21792
Change-Id: I9ed66c86e7a165fe198ee3fcf1bf8b72d850a2d5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-01-04 11:30:30 +00:00

15 KiB