Mercurial > hg > svgui
diff widgets/InteractiveFileFinder.cpp @ 1476:c268fe2ad597 by-id
Couple more updates
author | Chris Cannam |
---|---|
date | Tue, 02 Jul 2019 15:38:37 +0100 |
parents | 18101be79c9c |
children |
line wrap: on
line diff
--- a/widgets/InteractiveFileFinder.cpp Tue Jul 02 15:29:17 2019 +0100 +++ b/widgets/InteractiveFileFinder.cpp Tue Jul 02 15:38:37 2019 +0100 @@ -388,7 +388,7 @@ dialog.setDirectory(lastPath); dialog.setAcceptMode(QFileDialog::AcceptSave); dialog.setFileMode(QFileDialog::AnyFile); - dialog.setConfirmOverwrite(false); // we'll do that + dialog.setOption(QFileDialog::DontConfirmOverwrite, true); // we'll do that QString defaultSuffix; if (type == SessionFile) {