QGeo{Satellite,Position}Info: prevent unnecessary detaching
Use QHash::constFind() + QHash::erase() instead of QHash::remove() to
prevent unnecessary detaching when trying to remove a non-existent
attribute.
Pick-to: 6.9 6.8 6.5
Change-Id: I51085c7a42fc082aa644510259366f1c53a17b67
Reviewed-by: Mate Barany <mate.barany@qt.io>
| commit | 325ca46aefd5dda34b9e2a6429c0c799c38c6efe |
| parent | 8b5be619ac590214d0c5bf2fac85ae6799fdd8be |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Wed, 16 Apr 2025 07:58:27 +0000 |