[plasma/kwin/Plasma/6.7] autotests/integration: autotests: check the right virtual tablet before removing it
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 72030a6214ef76ad1e63a424ed9ae23df7cbdde8 by Vlad Zahorodnii. Committed on 22/07/2026 at 10:13. Pushed by vladz into branch 'Plasma/6.7'. autotests: check the right virtual tablet before removing it (cherry picked from commit 481e3c163c9778237c8d8216144e17c3fc9bdf11) Co-authored-by: Li Kai <[email protected]> M +1 -1 autotests/integration/kwin_wayland_test.cpp https://invent.kde.org/plasma/kwin/-/commit/72030a6214ef76ad1e63a424ed9ae23df7cbdde8 diff --git a/autotests/integration/kwin_wayland_test.cpp b/autotests/integration/kwin_wayland_test.cpp index eb3e27f5acd..3f7daec796a 100644 --- a/autotests/integration/kwin_wayland_test.cpp +++ b/autotests/integration/kwin_wayland_test.cpp @@ -187,7 +187,7 @@ void WaylandTestApplication::destroyVirtualInputDevices() if (m_virtualTabletPad) { input()->removeInputDevice(m_virtualTabletPad.get()); } - if (m_virtualTabletTool) { + if (m_virtualTablet) { input()->removeInputDevice(m_virtualTablet.get()); } }