Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QSaveFile setDirectWriteFallback()



  • If setDirectWriteFallback() is set to true, this does not abandon the concept of a temporary file being created unless there is a problem creating the temporary file, right? The "Allows writing over the existing file if necessary" truly only changes behavior if there is an error but an attempt to create a temporary file will be pursued by default, yes?

    Thanks,
    -Rich


  • Lifetime Qt Champion

    Hi,

    You can see the logic here.

    From the looks of it, you are right.


Log in to reply