GeoClue2: do not crash without qApp


The QGeoPositionInfoSource instance can theoretically be created even
without Q(Core)Application. Do not crash in such case.

Amends f2db3f7359073036fcb1de8d4f9f7bd08e159284.

Pick-to: 6.10
Change-Id: I8878e2bbe95c52405c369bc2b81697c40f1eaf1d
Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
commit0c5c5688dc8f562a5bc8f003da772bff8c218b96
parent36089e0429cdc69f90538df09b48f443db762753
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeMon, 11 Aug 2025 13:52:44 +0200