summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/sceneparsers/assimp/assimphelpers.cpp2
-rw-r--r--tools/qgltf/qgltf.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/sceneparsers/assimp/assimphelpers.cpp b/src/plugins/sceneparsers/assimp/assimphelpers.cpp
index a8d935216..02799beaf 100644
--- a/src/plugins/sceneparsers/assimp/assimphelpers.cpp
+++ b/src/plugins/sceneparsers/assimp/assimphelpers.cpp
@@ -187,7 +187,7 @@ AssimpIOSystem::~AssimpIOSystem()
*/
bool AssimpIOSystem::Exists(const char *pFile) const
{
- return QFileInfo(QString::fromUtf8(pFile)).exists();
+ return QFileInfo::exists(QString::fromUtf8(pFile));
}
/*!
diff --git a/tools/qgltf/qgltf.cpp b/tools/qgltf/qgltf.cpp
index 9471487a5..788f3cef5 100644
--- a/tools/qgltf/qgltf.cpp
+++ b/tools/qgltf/qgltf.cpp
@@ -167,7 +167,7 @@ AssimpIOSystem::AssimpIOSystem()
bool AssimpIOSystem::Exists(const char *pFile) const
{
- return QFileInfo(QString::fromUtf8(pFile)).exists();
+ return QFileInfo::exists(QString::fromUtf8(pFile));
}
char AssimpIOSystem::getOsSeparator() const