diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-01-22 09:03:09 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-01-31 12:51:13 +0000 |
commit | dc384a2376a13ae2a8776ea0eda7d6e2fd088a64 (patch) | |
tree | 9140fdd122b57d2089725ac3a7b89700358d9f2c /.gitattributes | |
parent | 34e7bd9bda35783d466dc4dd3cf6157a186f6295 (diff) |
winrt: Remove incorrect asserts and fix incorrect condition
setPreferredPositioningMethods and setUpdateInterval are called by init so
these functions should not assert in initializing state.
Additionally the early exit condition in setPreferredPositioningMethods
has to be the same as in setUpdateInterval. Both cases have to return
early if the locator has not been initialized. This initialization
happens in init, so both states, Initializing and Initialized, are fine
for further handling.
Change-Id: I4ef8db7178c38299328041a8d163a1b9bbecc5b1
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions