Remove non empty directory with QFileSystemModel.
Unsolved
General and Desktop
-
hi
maybe you can use
http://doc.qt.io/qt-5/qdir.html#removeRecursively -
@tokafr
Oh. That would have been too easy then :)http://stackoverflow.com/questions/11050977/removing-a-non-empty-folder-in-qt
has a function that looks good.
bool removeDir(const QString & dirName)
make sure to give it full path.I dont think QFileSystemModel can do it directly .
Not that i have seen.