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

Documentation for QFileDialog::DontConfirmOverwrite should mention QFileDialog::AcceptMode

    XMLWordPrintable

Details

    • 76a1c7690 (dev), 30e0dc908 (6.7), ca9b9d609 (6.6), 3f82b295b (tqtc/lts-6.5)
    • DaVinci 91, DaVinci 92

    Description

      Setting QFileDialog::DontConfirmOverwrite to false (i.e. asking for confirmation when selecting an existing file) only works if QFileDialog::AcceptMode is set to QFileDialog::AcceptSave. This in itself is not really an issue and rather logical.

      However there is no indication of that in the doc, meaning that when building its own QFileDialog it is very easy to overlook QFileDialog::AcceptMode and wrongly assume that QFileDialog::DontConfirmOverwrite does not work.

      Attachments

        Activity

          People

            safiyyah Safiyyah Moosa
            rmoyen RĂ©mi Moyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: