diff options
author | David Faure <david.faure@kdab.com> | 2014-02-07 11:20:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-10 11:00:41 +0100 |
commit | 5c9d671bfb5b5111069aadc9bf3f742f369c74ae (patch) | |
tree | 3ff758089963ad4552604206c42b9138e6321cc7 /src/tools | |
parent | 4965cf78c1d9800944cec53babcf6be1cadf5940 (diff) |
QStandardPaths: fix empty path in XDG_DATA_DIRS being treated as '/'.
The basedir xdg spec says:
"All paths set in these environment variables must be absolute.
If an implementation encounters a relative path in any of these variables it
should consider the path invalid and ignore it."
Therefore we ignore relative paths including the empty string.
Change-Id: I8f779b78981018051b16de23b2514f2e62b7ab39
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions