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:37:05 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128796/#review98772
-----------------------------------------------------------
src/core/slavebase.cpp (line 465)
<https://git.reviewboard.kde.org/r/128796/#comment66508>
Not sure how to achieve that. Maybe we can cache the QUrl passed to `listDir()` and retrieve the protocol (e.g. mtp://) from that?
- Elvis Angelaccio
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/947d72f7/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list