mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Yet another deprecation fix
This commit is contained in:
parent
da0d01cc10
commit
935e51837d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user