rgheck schreef:
Vincent van Ravesteijn wrote:
Anyway, our FileName class is largely based on the QFileInfo class, which is thus not reliable anymore if we just want to compare filenames.

If I remember correctly, the reason to use QFileInfo had been to resolve worries about different links that point to the same physical file. Maybe what we need to do, then, is deal with that problem in a different way. But I'm not sure.

rh

And a second disadvantage of the QFileInfo class is that it is very unclear when it accesses the filesystem and how you can avoid that in cases you don't need to.

It's a bit difficult to see how it can be cleaned up. There is a code that depends on the Qt version, the OS, the purpose, absolute/relative etc.

Vincent

Reply via email to