-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting files move them to trash #963
Conversation
2c2046a
to
566902c
Compare
I've a concern with this PR - this won't work on focal.
|
@juuz0 Thank you for raising this point. Here many remarks regarding this:
I believe your approach is very pragramatic and if the (2) option is not too complicated, please implement it. On our side we should really consider to move to Qt15.5 in our compilation toolchain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From a functional perspective, tested on Ubuntu 22.04, it works perfectly to me.
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A renaming of the mutex to do.
I'm not sure about other renaming. I'm open to discussion here. (Or you can directly do the change if you agree with me)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments on the last commit.
@juuz0 Please fix the last details so we can merge before the WE. |
Added a new settings entry to toggle if deleted files should move to trash/recycle bin.
Added functionality to delete files to trash or deleting them permanently.
This change puts download directory in an always monitoring state. For any files downloaded using kiwix downloader (and hence saved in download directory), this will automatically update the library if file is restored after deletion.
The settings entry is hidden when the QT version is not supported The file is always permanently deleted - dialog box indicates this.
@juuz0 Thank you for the last cosmetic fix, I will merge. |
Fixes #479