diff options
author | Kai Koehne <kai.koehne@qt.io> | 2016-11-03 11:17:14 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2016-11-08 15:30:42 +0000 |
commit | b5fa247102c610d8ed4c1d88a7f1ea685b96c91f (patch) | |
tree | 9b0dfff2dc357edbe7c4b5c21cee35f5f3dd7104 /src/corelib/tools/qbytearray_p.h | |
parent | aa73a7026fd8093a340b20dacba7b10e5ffa03ac (diff) |
QStandardPaths: Do not check whether path exists (Windows)
It's arguably better to return a non-existing location than no location
at all. This makes it in line with the documentation for e.g.
QStandardPaths::writableLocation that says
Note: The storage location returned can be a directory that does not
exist; i.e., it may need to be created by the system or the user.
Finally, this was also the behavior of code that used
SHGetSpecialFolderPath before.
Change-Id: I5ee44747a38434535610e45a4d303b36ef79d42a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/tools/qbytearray_p.h')
0 files changed, 0 insertions, 0 deletions