Always use QDir::exists() for checking if something exists
authorAndy Shaw <andy.shaw@digia.com>
Fri, 19 Jul 2013 06:42:58 +0000 (08:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 25 Jul 2013 09:36:01 +0000 (11:36 +0200)
commit9313ab93e9a4bb7122358313f7827f4ea628e526
tree44d8a9a19b75194077bc99a1eb87b9fc9d2c913b
parent3f01f6ff0396148e753066f481b3828522a94514
Always use QDir::exists() for checking if something exists

If there is a custom file engine in use by the application then it will
not be able to tell if the file exists if the system stat() call is
used. Therefore we let it use QDir::exists() on all platforms to ensure
that this is taken care of.

Change-Id: I0c93cfdad1e71b40512bcf1766de6a705a76bd9c
Reviewed-by: Marcus Tillmanns <maddimax@gmail.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/qml/qml/qqmltypeloader.cpp