Avoid adding x-y-z structure of tile server if the url end with a key


We previously added the x-y-z structure "%z/%x/%y.png" if the url did
not end with ".png". This is not very flexible and will not allow to add
an apikey that does not end with ".png". Searching for "%x" instead
should be more flexible.

Fixes: QTBUG-115742
Change-Id: I0ec4cf1713292896b84894224c1e279babc486ed
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitfe4580824b92d69349eb8bba5de3d48dd8d9a71c
parentafa75142d118d750bd13d02c104140ff77cb9339
authorMatthias Rauter <matthias.rauter@qt.io>
committerMatthias Rauter <matthias.rauter@qt.io>
commit timeThu, 23 Nov 2023 07:15:18 +0100