Important: Please read the 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?


  • Lifetime Qt Champion


    You can see the logic here.

    From the looks of it, you are right.

Log in to reply