MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / trash

Function trash

launcher/FileSystem.cpp:253–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253bool trash(QString path, QString *pathInTrash = nullptr)
254{
255#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
256 return false;
257#else
258 return QFile::moveToTrash(path, pathInTrash);
259#endif
260}
261
262QString PathCombine(const QString& path1, const QString& path2)
263{

Callers 1

trashInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected