Commit 593d3343 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

xdg drag and drop portal support

- adds a new function exportUrlsToPortal that gets called by the sender
to extend qmimedata with transfer context (and send the relevant files
off to the portal)

- extends urlsFromMimeData to unpack the transfer context and redirect
the urls to the ones received from the portal

main disadvantage: this would bring in qdbus as optional dependency of
kcoreaddons along with runtime depends on portals and kio-fuse (albeit
not required)

main advantage: receivers would hopefully already call urlsFromMimeData
saving us from having to change every single drag receiving application
(we still have to change every drag sending application though :(()
parent c6f97178
Pipeline #192325 passed with stage
in 3 minutes and 51 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment