diff --git a/libinput/connection.cpp b/libinput/connection.cpp index e39dc1e455..6831736b30 100644 --- a/libinput/connection.cpp +++ b/libinput/connection.cpp @@ -220,7 +220,6 @@ void Connection::processEvents() case LIBINPUT_EVENT_DEVICE_ADDED: { auto device = new Device(event->nativeDevice()); device->moveToThread(s_thread); - device->setParent(this); m_devices << device; if (device->isKeyboard()) { m_keyboard++;