D20197: Fix desktop link to file or directory
Robert Hoffmann
noreply at phabricator.kde.org
Fri Apr 5 10:07:48 BST 2019
hoffmannrobert added a comment.
Thanks, I've learned that QFileDialog only creates a well behaving directory chooser, if the QFileDialog::ShowDirsOnly option is set to true _after_ having set the fileMode to QFileDialog::Directory. If you do it the other way around, it doesn't add directories to the selection.
Now it's necessary to delete an already created file dialog and make a new one, if you change your mind and choose the file chooser after having selected a directory chooser, or vice versa. Otherwise it would crash.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D20197
To: hoffmannrobert, #frameworks, ngraham
Cc: ngraham, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190405/0c1725e8/attachment.html>
More information about the Kde-frameworks-devel
mailing list