diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-06-18 11:41:54 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-06-18 11:26:43 +0000 |
commit | f34ed0b633f30a6871a0d82409b1490565d1c96d (patch) | |
tree | 1b792d5f704bcc3be201ffed2b359a169c9bbbb7 /src/libs/installer/component.cpp | |
parent | 1e1c4311ff71560be62589547d3113683b6084e1 (diff) |
Fix usage of '--install-compressed-repository' with a relative file path
Use a function overload of QUrl::fromUserInput that takes a
workingDirectory parameter, in order to be able to handle relative
paths. Otherwise a string pointing to a relative local file path is
handled as a short form of a HTTP URL.
Change-Id: I5811661680728e79555ea7b99d0a1e8a8f294b44
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/component.cpp')
0 files changed, 0 insertions, 0 deletions