What is wrong with QDir::rename()?
when newName and oldName are in different partions,QDir::rename(oldname, newName) will hang(at least on one of my system). So I can't use simple if (!rename()) { copy(); remove()};(this works in Posix rename(),as it returns error quickly) I must find a portable way to know if the two are in different partitions,and I find no portable way to do this by now.
Any good idea about this?
Bookmarks