summaryrefslogtreecommitdiffstats
path: root/src/render/texture/qtexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/texture/qtexture.cpp')
-rw-r--r--src/render/texture/qtexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/texture/qtexture.cpp b/src/render/texture/qtexture.cpp
index 6b7b92166..f30e23d41 100644
--- a/src/render/texture/qtexture.cpp
+++ b/src/render/texture/qtexture.cpp
@@ -52,11 +52,11 @@
#include <Qt3DCore/private/qscene_p.h>
#include <Qt3DCore/qaspectengine.h>
#include <Qt3DCore/private/qdownloadhelperservice_p.h>
+#include <Qt3DCore/private/qurlhelper_p.h>
#include <Qt3DRender/private/qrenderaspect_p.h>
#include <Qt3DRender/private/nodemanagers_p.h>
#include <Qt3DRender/private/managers_p.h>
#include <Qt3DRender/private/texture_p.h>
-#include <Qt3DRender/private/qurlhelper_p.h>
#include <qmath.h>
QT_BEGIN_NAMESPACE
@@ -1001,7 +1001,7 @@ QTextureImageDataPtr TextureLoadingHelper::loadTextureData(const QUrl &url, bool
|| url.scheme() == QLatin1String("assets")
#endif
) {
- const QString source = Qt3DRender::QUrlHelper::urlToLocalFileOrQrc(url);
+ const QString source = Qt3DCore::QUrlHelper::urlToLocalFileOrQrc(url);
QFile f(source);
if (!f.open(QIODevice::ReadOnly))
qWarning() << "Failed to open" << source;