summaryrefslogtreecommitdiffstats
path: root/src/s60installs
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-01-29 21:52:51 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-02-01 01:03:28 +0200
commitee515dd842d79fa4543568ed82bd7c949923e438 (patch)
tree577280f26ed75a49793854b947f331b4816d9d91 /src/s60installs
parent72c2cdbc572f8b8b45a57a451e2bc19bb1c53b0c (diff)
QStandardPaths/Unix: fix logic in xdgDataDirs() function
This method correctly ignores relative paths (as per the XDG basedir spec), but checking the list of dirs is empty should be moved to after splitting the env var, because even if the env var is not empty, if the paths in it are all relative the resulting list will be empty. Drive-by change: Split some code to a static helper, which will be used in xdgConfigDirs() too. Change-Id: If894751ba68b24ccc214f9a4bb2099be3f0e4349 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/s60installs')
0 files changed, 0 insertions, 0 deletions