Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
None
-
17d1d577c (dev)
Description
In our app, we need to know if moving to a system trash is supported.
As a workaround, we can create a temporarily file and then try to delete it using QFile::moveToTrash.
But, this is not very good and convenient. Instead, I would like to be able to use some API like static bool QFile::supportsMoveToTrash() or QStorage(xxx).supportsMoveToTrash().