Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54945

QSettings: Provide a means to allow fallback writing (similar to QSaveFile)

    XMLWordPrintable

Details

    Description

      QSettings: Provide a means to allow fallback writing (similar to QSaveFile). It is possible that the settings file is in a directory that does not have permissions to create new files. Therefore things like the lock file and the QSaveFile usage internally will cause it to fail to write to the settings file although it could actually do so directly.

      Therefore adding similar API to what QSaveFile (directWriteFallback) would be ideal, granted with the warning that writing has to be adequately protected in this case meaning it is up to the user to ensure concurrent writes are not happening.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes