Set supported schemes to "file" for getsavefilename
ClosedPublic

Authored by broulik on Mar 7 2018, 8:21 AM.

Details

Summary

This was done in getopenfilename but not getsavefilename.
Since it calls selectedFiles when the dialog is accepted, any non-file URL will result in an empty return value.

Test Plan

No longer get Trash and "Recently Saved" places shown when calling getsavefilename (e.g. "Save As" in Chromium) but it still works in getsaveurl

Diff Detail

Repository
R229 KDialog
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik requested review of this revision.Mar 7 2018, 8:21 AM
broulik created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 5 2018, 1:08 PM
This revision was automatically updated to reflect the committed changes.