[plasma/kwin] 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 481e3c163c9778237c8d8216144e17c3fc9bdf11 by Vlad Zahorodnii, on behalf of Li Kai.
Committed on 22/07/2026 at 09:21.
Pushed by vladz into branch 'master'.
autotests: check the right virtual tablet before removing it
M +1 -1 autotests/integration/kwin_wayland_test.cpp
https://invent.kde.org/plasma/kwin/-/commit/481e3c163c9778237c8d8216144e17c3fc9bdf11
diff --git a/autotests/integration/kwin_wayland_test.cpp b/autotests/integration/kwin_wayland_test.cpp
index 154bd3eda6a..e6ccc1ec14a 100644
--- a/autotests/integration/kwin_wayland_test.cpp
+++ b/autotests/integration/kwin_wayland_test.cpp
@@ -184,7 +184,7 @@ void WaylandTestApplication::destroyVirtualInputDevices()
if (m_virtualTabletPad) {
input()->removeInputDevice(m_virtualTabletPad.get());
}
- if (m_virtualTabletTool) {
+ if (m_virtualTablet) {
input()->removeInputDevice(m_virtualTablet.get());
}
}