Skip to content
Ivailo Monev edited this page Jan 13, 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 also has changed, that is the method will return true only for links which resolve to file.

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