diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2023-12-29 09:36:10 -0700 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-12-29 21:02:26 +0000 |
commit | f1c8366312240ce5bb5055d0fd70d5f82acf6fb3 (patch) | |
tree | 7e9b5139803ecfc7e7288498959e7f3df7c2248f | |
parent | 37c614837ff4be781985c10209c9e63b9a657fff (diff) |
Remove unused Q_Q macros which caused fatal warnings
error: unused variable ‘q’ [-Werror=unused-variable]
Amends 59ae054ded4d74db53281d8087576cd05b979cd9
Change-Id: I8d506ba04723fa9327bbc80e2597d2176e500c2d
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit 92ba57d7ceca3d9d072ee121ab44eff17637cbec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/compositor/extensions/qwaylandtextinputv3.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compositor/extensions/qwaylandtextinputv3.cpp b/src/compositor/extensions/qwaylandtextinputv3.cpp index 74ec57954..6fc1bcd16 100644 --- a/src/compositor/extensions/qwaylandtextinputv3.cpp +++ b/src/compositor/extensions/qwaylandtextinputv3.cpp @@ -88,7 +88,6 @@ QWaylandTextInputV3Private::QWaylandTextInputV3Private(QWaylandCompositor *compo void QWaylandTextInputV3Private::sendInputMethodEvent(QInputMethodEvent *event) { - Q_Q(QWaylandTextInputV3); qCDebug(qLcWaylandCompositorTextInput) << Q_FUNC_INFO; if (!focusResource || !focusResource->handle) @@ -135,8 +134,6 @@ void QWaylandTextInputV3Private::sendKeyEvent(QKeyEvent *event) { qCDebug(qLcWaylandCompositorTextInput) << Q_FUNC_INFO; - Q_Q(QWaylandTextInputV3); - if (!focusResource || !focusResource->handle) return; @@ -192,7 +189,6 @@ QVariant QWaylandTextInputV3Private::inputMethodQuery(Qt::InputMethodQuery prope void QWaylandTextInputV3Private::setFocus(QWaylandSurface *surface) { qCDebug(qLcWaylandCompositorTextInput) << Q_FUNC_INFO; - Q_Q(QWaylandTextInputV3); if (focusResource && focus) { // sync before leave @@ -285,8 +281,6 @@ void QWaylandTextInputV3Private::zwp_text_input_v3_set_cursor_rectangle(Resource { qCDebug(qLcWaylandCompositorTextInput) << Q_FUNC_INFO << x << y << width << height; - Q_Q(QWaylandTextInputV3); - if (resource != focusResource) return; @@ -299,8 +293,6 @@ void QWaylandTextInputV3Private::zwp_text_input_v3_commit(Resource *resource) { qCDebug(qLcWaylandCompositorTextInput) << Q_FUNC_INFO; - Q_Q(QWaylandTextInputV3); - if (resource != focusResource) { qCDebug(qLcWaylandCompositorTextInput) << "OBS: Disabled surface!!"; return; |