Review Request 128796: Fix disabled paste action for slaves that don't emit an UDSEntry for "."

Elvis Angelaccio elvis.angelaccio at kdemail.net
Mon Aug 29 17:38:04 UTC 2016



> On Aug. 29, 2016, 5:37 p.m., Elvis Angelaccio wrote:
> > src/core/slavebase.cpp, line 465
> > <https://git.reviewboard.kde.org/r/128796/diff/1/?file=475607#file475607line465>
> >
> >     Not sure how to achieve that. Maybe we can cache the QUrl passed to `listDir()` and retrieve the protocol (e.g. mtp://) from that?

This was supposed to be a reply to "It would be useful to mention the name of the slave here, so people don't report generic KIO bugs due to this warning"


- Elvis


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


On Aug. 29, 2016, 1:36 p.m., Elvis Angelaccio wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128796/
> -----------------------------------------------------------
> 
> (Updated Aug. 29, 2016, 1:36 p.m.)
> 
> 
> Review request for KDE Frameworks and David Faure.
> 
> 
> Bugs: 366795
>     https://bugs.kde.org/show_bug.cgi?id=366795
> 
> 
> Repository: kio
> 
> 
> Description
> -------
> 
> Since there are too many slaves that don't (or [can't](https://bugs.kde.org/show_bug.cgi?id=367878#c3), in the kdeconnect case) emit an UDSEntry for ".", we can provide a fallback in the SlaveBase class.
> 
> 
> Diffs
> -----
> 
>   src/core/slavebase.cpp f939146 
> 
> Diff: https://git.reviewboard.kde.org/r/128796/diff/
> 
> 
> Testing
> -------
> 
> Paste action is enabled again for mtp:// and kdeconnect:// slaves.
> 
> 
> Thanks,
> 
> Elvis Angelaccio
> 
>

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


More information about the Kde-frameworks-devel mailing list