You will need to write a recursive function to do this.
Something like this
Qt Code:
{ if(fileInfo.isDir()){ for(int i = 0; i < fileList.count(); ++i){ remove(fileList.at(i)); } rmpath(path); } else{ } }To copy to clipboard, switch view to plain text mode
Bookmarks