From 20f3636a1376b9ea86cfe76d6a028f88bfbb5de0 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 28 Jun 2022 08:02:36 +0200 Subject: Remove unused variables They appear to have been around and unused forever, but I've started getting warnings (-are-errors) about this. Change-Id: I2f3006aa47de24927d7edd2d7f43cff78f965f87 Reviewed-by: David Edmundson (cherry picked from commit 0909a047b15982f9e39865f9d8058cd6d22b789d) Reviewed-by: Qt Cherry-pick Bot --- src/client/qwaylanddatasource_p.h | 1 - src/client/qwaylandprimaryselectionv1_p.h | 1 - src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/client/qwaylanddatasource_p.h b/src/client/qwaylanddatasource_p.h index 6e5befc0..0ce09a40 100644 --- a/src/client/qwaylanddatasource_p.h +++ b/src/client/qwaylanddatasource_p.h @@ -56,7 +56,6 @@ protected: void data_source_action(uint32_t action) override; private: - QWaylandDisplay *m_display = nullptr; QMimeData *m_mime_data = nullptr; bool m_accepted = false; Qt::DropAction m_dropAction = Qt::IgnoreAction; diff --git a/src/client/qwaylandprimaryselectionv1_p.h b/src/client/qwaylandprimaryselectionv1_p.h index d29cc979..59bb6211 100644 --- a/src/client/qwaylandprimaryselectionv1_p.h +++ b/src/client/qwaylandprimaryselectionv1_p.h @@ -77,7 +77,6 @@ protected: void zwp_primary_selection_source_v1_cancelled() override { emit cancelled(); } private: - QWaylandDisplay *m_display = nullptr; QMimeData *m_mimeData = nullptr; }; diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h index a92b78e2..5b9aa987 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h @@ -55,8 +55,6 @@ private: QWaylandEglClientBufferIntegration *m_clientBufferIntegration = nullptr; struct wl_egl_window *m_waylandEglWindow = nullptr; - const QWaylandWindow *m_parentWindow = nullptr; - EGLSurface m_eglSurface = EGL_NO_SURFACE; mutable bool m_resize = false; mutable QOpenGLFramebufferObject *m_contentFBO = nullptr; -- cgit v1.2.1