This one is strange: the lambda slot is not invoked when
Qt::QueuedConnection is used on Wayland, but on X11 it works just
fine. On Wayland it also works if the context object is changed from
this to the sender.
Unfortunately I couldn't figure out why that's the case.