[Development] QStandardPaths::writableLocation() on OSX in test mode

David Faure faure at kde.org
Wed Nov 11 18:07:17 UTC 2015


On Wednesday 11 November 2015 16:03:31 Petroules Jake wrote:
> I mean the API returns a single value, not a list. 

Yes, and the value returned by writableLocation() is supposed to be user-specific
(something under $HOME) rather than system-wide.

So /Applications should be in QSP::standardLocations(ApplicationsLocation)
but QSP::writableLocation(ApplicationsLocation) should return something under
$HOME, like on XDG unixes (where it's ~/.local/share/applications).

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list