Added a policy path check. If it does not exist, create a new path. This is needed, since the tool will not save any settings without the path, which we can not expect users to create themself.

Review Request #102272 - Created Aug. 9, 2011 and discarded

Information
Thomas Balling Sørensen
polkit-kde-kcmodules-1
HEAD
Reviewers
polkit-kde-kcmodules-1
Added a policy path check. If it does not exist, create a new path. This is needed, since the tool will not save any settings without the path.
I have tested it with this patch and my other patch proposed here:
https://git.reviewboard.kde.org/r/102265/

The explicit settings are saved correctly now.
Dario Freddi
Thanks for this one
helper/polkitkde1helper.cpp (Diff revision 1)
 
 
 
Coding style: pathName, not path_name. Besides, are you sure about the .d directory? Last time I had a look it was a single file.
Loading...