diff options
author | Masashi Fujimoto <masfj.pub@gmail.com> | 2017-10-05 12:57:05 +0900 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-04-16 06:09:35 +0000 |
commit | edc7aec065356b9f58ce82a038cca092cad76e2d (patch) | |
tree | f837bf4730c393376a1f7832c9f9079cf52222e4 /tests | |
parent | 35a36ad478f3bd1cddb9be2ae10f4676302f3460 (diff) |
macOS: Fix standardLocations() returns invalid path
The file path included in the return value was
incorrect when giving the following value to the argument of
"QStandardPaths::standardLocations()".
- QStandardPaths::AppDataLocation
- QStandardPaths::AppLocalDataLocation
- QStandardPaths::DataLocation
The function to obtain the path to <AppName>.app changed from
CFURLCopyPath() to CFURLCopyFileSystemPath() by commit id
c0da37a806dc0457636d787331e9f50778ee8b3e.
CFURLCopyPath() returns a value with a path delimiter appended at the
end, but CFURLCopyFileSystemPath() is not.
This is a commit to append '/' to the end of the return value of
CFURLCopyFileSystemPath().
Task-number: QTBUG-61159
Change-Id: Icaebdf09d9cdf992d59c16a398dfe666e6225f99
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
(cherry picked from commit aebc9023bb0acb9697540b444a6dfae95b762644)
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions