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().
Attachments
For Gerrit Dashboard: QTBUG-127580 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
579468,6 | QFile: add supportsMoveToTrash() | dev | qt/qtbase | Status: MERGED | +2 | 0 |