path: root/src/corelib/global/qflags.h
diff options
authorKai Koehne <>2016-11-03 11:17:14 +0100
committerKai Koehne <>2016-11-08 15:30:42 +0000
commitb5fa247102c610d8ed4c1d88a7f1ea685b96c91f (patch)
tree9b0dfff2dc357edbe7c4b5c21cee35f5f3dd7104 /src/corelib/global/qflags.h
parentaa73a7026fd8093a340b20dacba7b10e5ffa03ac (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 <> Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/corelib/global/qflags.h')
0 files changed, 0 insertions, 0 deletions