summaryrefslogtreecommitdiffstats
path: root/src/event_exec.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-10-31 23:20:47 +0100
committerqkzk <qu3nt1n@gmail.com>2023-10-31 23:20:47 +0100
commit76a25089935f35e8a24c735b975c1896fcddbb07 (patch)
treebef421ca2866e4806394b3b23b49732974bd10e8 /src/event_exec.rs
parentef6b7a1e3ca1ee232b4fe7a679f4684cf193941a (diff)
trash refactor
Diffstat (limited to 'src/event_exec.rs')
-rw-r--r--src/event_exec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_exec.rs b/src/event_exec.rs
index 3b7e08d..d29b4f9 100644
--- a/src/event_exec.rs
+++ b/src/event_exec.rs
@@ -863,7 +863,7 @@ impl EventAction {
}
let trash_mount_point = opt_mount_point(disk_used_by_path(
status.system_info.disks(),
- &std::path::PathBuf::from(&status.trash.trash_folder_files),
+ std::path::Path::new(&status.trash.trash_folder_files),
));
for flagged in status.flagged.content.iter() {