summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2024-01-10 10:59:10 +0000
committerDavid Edmundson <davidedmundson@kde.org>2024-02-01 12:09:28 +0000
commitd6835870b0883c3d036e9276c9d3b8625c7b24bb (patch)
tree097d1de04db171308d0040d850f2c05834a6102a /src
parent6d83cf94b568fa9e591761a182cf84e3959fbf32 (diff)
client: Remove unused member variable in TextInputV3
Pick-to: 6.7 Change-Id: I717f16d6ff055b2c0221bfd9cae1bdc9fa7f6513 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src')
-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