Make folderview understand application/x-kde-dndextract.
author Raphael Kubo da Costa
()
committer Raphael Kubo da Costa
()
commit d37a244a3c6dd80f2f4403d6aaabc63b3700e3ca
tree d68b10078b6f76a3b9c650b6924e4d5f8cc045fd
parent dfd50bf581118304678dbf9abfe84ac92e1e4051
Make folderview understand application/x-kde-dndextract.

The code was copied almost as-is from Dolphin's implementation. It
should now be possible to drag and drop files from any archive opened
in Ark to folderview.

It previously worked with some archive types due to a weird code path
in Ark which should not exist.

PS: Fredrik, I ended up using pathOrUrl() because I can't pass KUrl
via DBus.

Reviewed-by: Fredrik Höglund

CCMAIL: fredrik@kde.org
CCBUG: 189322
plasma/applets/folderview/iconview.cpp