diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-01-06 11:36:08 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-01-07 11:25:20 +0000 |
commit | 1688c44d223145abfdca19a7b31faecbafb0d315 (patch) | |
tree | 887eb5d5ac59869f64ef657d579ae3429f731f3a /tests/applications/positioning_backend/main.cpp | |
parent | b1fe421e9a64d57a6135a95453caf847ab6e6e78 (diff) | |
download | qtlocation-1688c44d223145abfdca19a7b31faecbafb0d315.tar.gz |
Fix MapItemView attempting to instantiate items with map not set
This case was not a problem when the only incubation mode was
Asynchronous, because the test for m_map was done in createdItem.
Now that Synchronous is supported too, this check has to be done earlier
or else instantiated items will never be added to the map.
Change-Id: Ifaa033fb0b64cabe74df395fcb387d162cd02b80
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'tests/applications/positioning_backend/main.cpp')
0 files changed, 0 insertions, 0 deletions