FIX: fixed multitouch in Linux in Qt6
Note: Do not assume that ID numbers start at zero or that they are sequential. Such an assumption is often false due to the way the underlying drivers work.
fixes: #18528 issue
Edited by Iker Salmón San Millán