Skip to content
Ivailo Monev edited this page Jan 10, 2020 · 4 revisions

This was done in https://github.com/fluxer/katie/commit/487edf2d845899ed2559cf6b1b3f4e8686cda130. The method no longer retruns true for paths that are not file path. Note that the behaviour for symbolic links has not changed, that is the method will return true no matter if it resolves to file or directory.

No source compatible methods are in place because you should evaluate how to handle this in your projects. For an example:

if (QFile::exists("/home/joe/mydir")) {
    ...
}

Should be changed to:

if (QDir("/home/joe/mydir").exists()) {
    ...
}

Clone this wiki locally