Adapt to QWaylandScreen being public

Change-Id: I8c260ab7177011fd22db856615c8f72d6a8fabeb
Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
David Redondo 2023-12-06 09:39:21 +01:00
parent baa2104a7a
commit ca722d909b

View File

@ -16,7 +16,7 @@
// //
#include <qpa/qplatformscreen.h> #include <qpa/qplatformscreen.h>
#include <qpa/qplatformscreen_p.h> #include <QtGui/qscreen_platform.h>
#include <QtWaylandClient/qtwaylandclientglobal.h> #include <QtWaylandClient/qtwaylandclientglobal.h>
#include <QtWaylandClient/private/qwayland-wayland.h> #include <QtWaylandClient/private/qwayland-wayland.h>
@ -38,7 +38,7 @@ public:
class Q_WAYLANDCLIENT_EXPORT QWaylandScreen : public QPlatformScreen, class Q_WAYLANDCLIENT_EXPORT QWaylandScreen : public QPlatformScreen,
QtWayland::wl_output, QtWayland::wl_output,
QtWayland::zxdg_output_v1, QtWayland::zxdg_output_v1,
public QNativeInterface::Private::QWaylandScreen public QNativeInterface::QWaylandScreen
{ {
public: public:
QWaylandScreen(QWaylandDisplay *waylandDisplay, int version, uint32_t id); QWaylandScreen(QWaylandDisplay *waylandDisplay, int version, uint32_t id);