Trash handling is too high level for FileUtil, move it up.

This commit is contained in:
Henrik Rydgård committed 2025-04-15 17:42:24 +02:00
1 parent ef2451fc45
commit 71533ac2b7
15 files changed
+118 -105

No files matched your search

+5
View File
@@ -720,6 +720,11 @@ bool System_MakeRequest(SystemRequestType type, int requestId, const std::string
MainWindow::RunCallbackInWndProc(func, userdata);
return true;
}
case SystemRequestType::MOVE_TO_TRASH:
{
W32Util::MoveToTrash(Path(param1));
return true;
}
default:
return false;
}