Skip to content
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

Add "Delete Permanently" action (i.e. delete without trash) #639

Merged
merged 2 commits into from
May 6, 2024

Conversation

jdpurcell
Copy link
Contributor

Note that this differs a bit from your request in #497 in terms of wording/shortcut keys; I had a slightly different opinion and this is a straight cherry-pick from the way I chose to do it in my fork, but feel free to request changes or make edits as necessary.

@jurplel jurplel self-requested a review October 7, 2023 19:15
QString messageText;
if (permanent)
{
messageText = tr("Are you sure you want to delete %1 permanently? This can't be undone.").arg(fileName);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In practice I found having the adverb separated, especially if there's a longer filename filled in for the placeholder, to be a bit awkward. Could consider wording this "permanently delete %1" instead.

src/mainwindow.h Outdated Show resolved Hide resolved
@jurplel jurplel merged commit c768a3f into jurplel:master May 6, 2024
0 of 6 checks passed
@jdpurcell jdpurcell deleted the issue497 branch June 29, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete without trash
2 participants