Hi!
I had same problem today, i think it's realy bug ;-). I rather solve it by another way (not completly same, but functional):
QFileDialog dialog
(this, tr
("Save as ..."), editor
->getFileName
());
dialog.setNameFilters(formats);
if (dialog.
exec() != QDialog::Accepted) return false;
filter = dialog.selectedNameFilter();
fn = dialog.selectedFiles()[0];
QFileDialog dialog(this, tr("Save as ..."), editor->getFileName());
dialog.setAcceptMode(QFileDialog::AcceptSave);
dialog.setNameFilters(formats);
if (dialog.exec() != QDialog::Accepted) return false;
filter = dialog.selectedNameFilter();
fn = dialog.selectedFiles()[0];
To copy to clipboard, switch view to plain text mode
Bookmarks