Fix wildcard filter matching


Each sub item in the filter tree needs to be directly compared. Using
startsWith causes invalid elements to be marked as matching.

Fixes: QTBUG-92817
Pick-to: 6.4 6.2 5.15
Change-Id: I439d9325b58fd0aa57fb4ead8db48edb4188ebee
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
commit56439080faff1a7c1dff59be2b534fb008ebbab1
parent035c5341e2cad1ca5f9c8a703fb711a2a16e305f
authorMaurice Kalinowski <maurice.kalinowski@qt.io>
committerMaurice Kalinowski <maurice.kalinowski@qt.io>
commit timeThu, 29 Sep 2022 08:34:31 +0200