D23384: [WIP] Adding support for mounting KIOFuse URLs for applications that don't use KIO
Alexander Saoutkin
noreply at phabricator.kde.org
Fri Nov 15 23:15:03 GMT 2019
feverfew added inline comments.
INLINE COMMENTS
> sitter wrote in krun.cpp:598
> So did the old code though. See old line 584.
>
> It's iterating by-reference, so you can simply assign to it via
>
> https://doc.qt.io/qt-5/qurl.html#operator-eq-1
>
> to change the content of the QUrl object (not the instance of the object in the list, but rather the content of that object).
That's within the same loop though?
I explicitly want to change the QUrl in that list, so that I can simply return the same list without having to do a copy of it all.
I can't get this to work. I need to change the definition of the struct to be:
`struct MountRequest {QDBusReply<QString> reply; QUrl &url;};`
This doesn't compile because "is implicitly deleted because the default definition would be ill-formed"...
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D23384
To: feverfew, fvogt, davidedmundson, dfaure, ngraham
Cc: sitter, davidedmundson, kde-frameworks-devel, ngraham, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191115/40b5589f/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list