summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client/qwaylandtextinputv3.cpp3
-rw-r--r--src/client/qwaylandtextinputv3_p.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/qwaylandtextinputv3.cpp b/src/client/qwaylandtextinputv3.cpp
index fbd902801..48f882feb 100644
--- a/src/client/qwaylandtextinputv3.cpp
+++ b/src/client/qwaylandtextinputv3.cpp
@@ -22,9 +22,8 @@ namespace QtWaylandClient {
QWaylandTextInputv3::QWaylandTextInputv3(QWaylandDisplay *display,
struct ::zwp_text_input_v3 *text_input)
: QtWayland::zwp_text_input_v3(text_input)
- , m_display(display)
{
-
+ Q_UNUSED(display)
}
QWaylandTextInputv3::~QWaylandTextInputv3()
diff --git a/src/client/qwaylandtextinputv3_p.h b/src/client/qwaylandtextinputv3_p.h
index 90b393cc0..e8b7aa027 100644
--- a/src/client/qwaylandtextinputv3_p.h
+++ b/src/client/qwaylandtextinputv3_p.h
@@ -63,7 +63,6 @@ protected:
void zwp_text_input_v3_done(uint32_t serial) override;
private:
- QWaylandDisplay *m_display;
QWaylandInputMethodEventBuilder m_builder;
::wl_surface *m_surface = nullptr; // ### Here for debugging purposes