[KFileWidget] Use urlFromString instead of QUrl(QString) in setSelection
ClosedPublic

Authored by broulik on Dec 21 2016, 10:26 AM.

Details

Summary

BUG: 369216

Test Plan

Comes with an autotest

kdialog --getsavefilename /path/to/newfile.ext

Now starts with /path/to rather than Documents folder and sets "newfile.ext" as file name.

Investigated by Paul in Comment 4 of said bug report.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 9249.Dec 21 2016, 10:26 AM
broulik retitled this revision from to [KFileWidget] Use urlFromString instead of QUrl(QString) in setSelection.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: dfaure.
broulik set the repository for this revision to R241 KIO.
dfaure accepted this revision.Dec 22 2016, 8:58 PM
dfaure edited edge metadata.
This revision is now accepted and ready to land.Dec 22 2016, 8:58 PM
This revision was automatically updated to reflect the committed changes.