Yet another deprecation fix

This commit is contained in:
Juergen Spitzmueller 2021-03-13 11:46:15 +01:00
parent da0d01cc10
commit 935e51837d

View File

@ -102,7 +102,7 @@ FileDialog::Result FileDialog::save(QString const & path,
LyXFileDialog dlg(title_, path, filters, private_->b1, private_->b2);
dlg.setFileMode(QFileDialog::AnyFile);
dlg.setAcceptMode(QFileDialog::AcceptSave);
dlg.setConfirmOverwrite(false);
dlg.setOption(QFileDialog::DontConfirmOverwrite, true);
if (selectedFilter != 0 && !selectedFilter->isEmpty())
dlg.selectNameFilter(*selectedFilter);