Review Request 127462: Add support for XDG_*_HOME enviroment variables.

Sandro Knauß sknauss at kde.org
Tue Mar 22 15:23:59 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127462/
-----------------------------------------------------------

Review request for KDE Frameworks and Matthew Dawson.


Repository: kconfig


Description
-------

According to freedesktop specification XDG_*_HOME env varaible should be
replaced, if they are not setted with default values.

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

as qgetenv only calls getenv, so no path is traslated to it default values. So we have to add this replacement manually. This would help to use XDG_*_HOME more often in configfiles.


Diffs
-----

  autotests/kconfigtest.cpp e92197f3be57ead47b70ca5d040474e7a554c416 
  src/core/kconfig.cpp 07fa6f552c61c52cc1dd64a1c5fb0e2f00873d50 

Diff: https://git.reviewboard.kde.org/r/127462/diff/


Testing
-------

Adding tests for XDG_*_HOME variables.


Thanks,

Sandro Knauß

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160322/cf0c1e0c/attachment.html>


More information about the Kde-frameworks-devel mailing list