diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-18 09:54:45 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-28 15:09:04 +0100 |
commit | 8155bd54261688f333b2d68e2d76f0fc076a0fb4 (patch) | |
tree | cbd4959d3b3840e16d7e3d3bdf760e84534b68c5 /src/gui/painting | |
parent | 71f35d6057eb65a217ebb8d2bfad365da27e537e (diff) |
Avoid converting paths to relative for headersclean comment if they are relative
When calling file (RELATIVE_PATH), check if the base directory and
header path are absolute. Use the original file path if the paths are
relative to avoid critical errors.
Fixes: QTBUG-108617
Change-Id: I6daddd5c1553cdbfd965650b7c469673c62f0a3d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Diffstat (limited to 'src/gui/painting')
0 files changed, 0 insertions, 0 deletions