Skip to content
Ivailo Monev edited this page Mar 8, 2020 · 4 revisions

This was done in https://github.com/fluxer/katie/commit/e1b4131846f1c94d42daae524341765b5aa68fea and 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()) {
    ...
}