Commit d12379c2 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Stop trashing all files when deleting an account folder

Setting `deleteRecursive` to false results in KIO's `DeleteJob` listing the
target folder first and deleting the children entries one by one
(see documentation of `KProtocolManager::canDeleteRecursive()`).

This was causing all files to be trashed when deleting an account folder
from the root gdrive:// url. Now the account folder will be just deleted
from the list of account, without touching the account files.

Task: T3987
CCMAIL: aacid@kde.org
parent 786d375f
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"ExtraNames": [ "ExtraNames": [
], ],
"Icon": "im-google", "Icon": "im-google",
"deleteRecursive": false, "deleteRecursive": true,
"deleting": true, "deleting": true,
"exec": "kf5/kio/gdrive", "exec": "kf5/kio/gdrive",
"input": "none", "input": "none",
......
Markdown is supported
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