Set supported schemes to "file" for getsavefilename

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



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

R229 KDialog
Automatic diff as part of commit; lint not applicable.
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.