mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use tr_sys_path_remove instead of remove
This commit is contained in:
@@ -134,7 +134,7 @@ addResponseCB (GtkDialog * dialog,
|
||||
gtr_core_add_torrent (o->core, o->tor, FALSE);
|
||||
|
||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (o->trash_check)))
|
||||
gtr_file_trash_or_remove (o->filename);
|
||||
gtr_file_trash_or_remove (o->filename, NULL);
|
||||
|
||||
save_recent_destination (o->core, o->downloadDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user