summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2024-01-10 10:59:10 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-02-01 13:56:14 +0000
commit57f90e8df5aac9450d068b8fdd7e985c2da74e0b (patch)
treeb6393625b398f4eedc53cab28da41930570f4963
parent38348ce5b06624cb6e36f814ebdfbc3ec61f1691 (diff)
client: Remove unused member variable in TextInputV3
Change-Id: I717f16d6ff055b2c0221bfd9cae1bdc9fa7f6513 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit d6835870b0883c3d036e9276c9d3b8625c7b24bb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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