Review Request 119505: Instance our onw QFileDialog instead of using getExistingDirectoryUrl

Aleix Pol Gonzalez aleixpol at kde.org
Mon Jul 28 00:04:47 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119505/#review63289
-----------------------------------------------------------


Maybe add a comment? this is a workaround at best...

- Aleix Pol Gonzalez


On July 27, 2014, 6:29 p.m., Àlex Fiestas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119505/
> -----------------------------------------------------------
> 
> (Updated July 27, 2014, 6:29 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> getExistingDirectoryUrl only works for local files so we have to implement it on our own for now.
> 
> As for Qt, QFileDialog::getExistingDirectoryUrl calls QUrl.toLocalFile, if we remove that, further down the code path _qt_get_directory is called which checks that the file exists but since Qt is not able to talk all our kios (for example smb) it will return false.
> So at the moment we are forced to implement it ourselves.
> 
> 
> Diffs
> -----
> 
>   src/widgets/kurlrequester.cpp cf0b0c7 
> 
> Diff: https://git.reviewboard.kde.org/r/119505/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Àlex Fiestas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140728/e0ed6bb5/attachment.html>


More information about the Kde-frameworks-devel mailing list