diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-02-15 11:20:01 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-02-28 16:11:50 +0100 |
commit | bbe45b511304c9cd6bd8a4b1eb22206c0ef8bdbc (patch) | |
tree | d0b0ab54c710561ac104890085e69a2876d7ed10 /src/location/qlocationglobal.h | |
parent | c63154ae7525b4ee45d324f5c72c78f4885f16cc (diff) | |
download | qtlocation-bbe45b511304c9cd6bd8a4b1eb22206c0ef8bdbc.tar.gz |
QDeclarativeGeoMap: reorder new parameters application after camera capabilities change
When the camera capabilities are changed, we try to re-apply such
parameters as zoom, tilt and FOV. Each of this parameters has min and
max supported values.
Before this patch we first applied the maximum value, and then the
minimum. This was triggering an assert in the unit tests.
With this patch we will first apply the minimum value. It will help to
unblock the CI, but still may trigger asserts under some conditions.
So a more general fix is required.
Task-number: QTBUG-96795
Change-Id: I7671981377e5a3c4f47fdbd4cf05aa540581b45f
Reviewed-by: Lauri Laanmets <lauri.laanmets@eesti.ee>
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'src/location/qlocationglobal.h')
0 files changed, 0 insertions, 0 deletions