summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qoffscreensurface_platform.h4
-rw-r--r--src/gui/platform/android/qandroidplatforminterface.cpp4
-rw-r--r--src/plugins/platforms/android/qandroidplatformoffscreensurface.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qoffscreensurface_platform.h b/src/gui/kernel/qoffscreensurface_platform.h
index 87e6b453a7..c991ec0122 100644
--- a/src/gui/kernel/qoffscreensurface_platform.h
+++ b/src/gui/kernel/qoffscreensurface_platform.h
@@ -52,9 +52,9 @@ QT_BEGIN_NAMESPACE
namespace QPlatformInterface {
#if defined(Q_OS_ANDROID)
-struct Q_GUI_EXPORT QAndroidPlatformOffscreenSurface
+struct Q_GUI_EXPORT QAndroidOffscreenSurface
{
- QT_DECLARE_PLATFORM_INTERFACE(QAndroidPlatformOffscreenSurface)
+ QT_DECLARE_PLATFORM_INTERFACE(QAndroidOffscreenSurface)
static QOffscreenSurface *fromNative(ANativeWindow *nativeSurface);
virtual ANativeWindow *nativeSurface() const = 0;
};
diff --git a/src/gui/platform/android/qandroidplatforminterface.cpp b/src/gui/platform/android/qandroidplatforminterface.cpp
index a3c4a5028d..0a2c708d7a 100644
--- a/src/gui/platform/android/qandroidplatforminterface.cpp
+++ b/src/gui/platform/android/qandroidplatforminterface.cpp
@@ -48,10 +48,10 @@ QT_BEGIN_NAMESPACE
using namespace QPlatformInterface::Private;
#if defined(Q_OS_ANDROID)
-QT_DEFINE_PLATFORM_INTERFACE(QAndroidPlatformOffscreenSurface, QOffscreenSurface);
+QT_DEFINE_PLATFORM_INTERFACE(QAndroidOffscreenSurface, QOffscreenSurface);
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QAndroidOffScreenIntegration);
-QOffscreenSurface *QPlatformInterface::QAndroidPlatformOffscreenSurface::fromNative(ANativeWindow *nativeSurface)
+QOffscreenSurface *QPlatformInterface::QAndroidOffscreenSurface::fromNative(ANativeWindow *nativeSurface)
{
return QGuiApplicationPrivate::platformIntegration()->call<
&QAndroidOffScreenIntegration::createOffscreenSurface>(nativeSurface);
diff --git a/src/plugins/platforms/android/qandroidplatformoffscreensurface.h b/src/plugins/platforms/android/qandroidplatformoffscreensurface.h
index 3cfeab3bf2..3eef727596 100644
--- a/src/plugins/platforms/android/qandroidplatformoffscreensurface.h
+++ b/src/plugins/platforms/android/qandroidplatformoffscreensurface.h
@@ -48,7 +48,7 @@
QT_BEGIN_NAMESPACE
class QOffscreenSurface;
class QAndroidPlatformOffscreenSurface : public QPlatformOffscreenSurface,
- public QPlatformInterface::QAndroidPlatformOffscreenSurface
+ public QPlatformInterface::QAndroidOffscreenSurface
{
public:
QAndroidPlatformOffscreenSurface(ANativeWindow *nativeSurface, EGLDisplay display, QOffscreenSurface *offscreenSurface);