diff options
Diffstat (limited to 'src/gui/egl/qegl_qpa.cpp')
-rw-r--r-- | src/gui/egl/qegl_qpa.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/egl/qegl_qpa.cpp b/src/gui/egl/qegl_qpa.cpp index 9b99e8b94a..c3eb044b22 100644 --- a/src/gui/egl/qegl_qpa.cpp +++ b/src/gui/egl/qegl_qpa.cpp @@ -46,7 +46,6 @@ #if !defined(QT_NO_EGL) -#include <QtGui/private/qgraphicssystem_p.h> #include <QtGui/private/qapplication_p.h> #include <QtGui/qdesktopwidget.h> @@ -75,7 +74,7 @@ EGLNativePixmapType QEgl::nativePixmap(QPixmap* pixmap) static QPlatformScreen *screenForDevice(QPaintDevice *device) { - QPlatformIntegration *pi = QApplicationPrivate::platformIntegration(); + QPlatformIntegration *pi = QGuiApplicationPrivate::platformIntegration(); QList<QPlatformScreen *> screens = pi->screens(); @@ -95,7 +94,7 @@ void QEglProperties::setPaintDeviceFormat(QPaintDevice *dev) if (!dev) return; - // Find the QGLScreen for this paint device. + // Find the QOpenGLScreen for this paint device. QPlatformScreen *screen = screenForDevice(dev); if (!screen) return; |