summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-06-28 08:02:36 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-28 09:55:04 +0000
commit20f3636a1376b9ea86cfe76d6a028f88bfbb5de0 (patch)
tree186f87a948df4f4efa40e4f6dd040d4db9f495f6
parent830e927172283116113ebaecef18c04c112c5889 (diff)
downloadqtwayland-20f3636a1376b9ea86cfe76d6a028f88bfbb5de0.tar.gz
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 <davidedmundson@kde.org> (cherry picked from commit 0909a047b15982f9e39865f9d8058cd6d22b789d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/client/qwaylanddatasource_p.h1
-rw-r--r--src/client/qwaylandprimaryselectionv1_p.h1
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandeglwindow_p.h2
3 files changed, 0 insertions, 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;