nemomobile/qtcontacts-sqlite — pull request #124 by chriadam (2014-03-21 04:30:02+00:00)
Title: [qtcontacts-sqlite] Use less error-prone method of detecting privileges

This commit just attempts to mkpath on the privileged database
directory. If it fails, it now assumes that it's nonprivileged.
This method is less error-prone than the existing method which
relies on Qt's FS permission support (which cannot be abstracted
perfectly across platforms, and so doesn't really work).