diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-10-15 21:19:29 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-15 17:28:39 -0800 |
commit | 4c7ce5c1aa4493fa3bf03b3eee54606ab701cce9 (patch) | |
tree | 0675d1829df8877c41b93f9a749266f8320a2efd /ReleaseNotes | |
parent | d1e7e6e69913d09f65a805cb3f1e6548e28e5999 (diff) | |
download | subsurface-4c7ce5c1aa4493fa3bf03b3eee54606ab701cce9.tar.gz |
mapwidget.qml: fix weird MouseArea bug in MapItemView
The QML map uses MapItemView. MapItemView needs a delagate
in the form of a MapQuickItem. The MapQuickItem needs a
'sourceItem' which would be used as the visual (e.g. marker)
on the map.
If the root sourceItem is of type Item, the marker becomes
non-clickable. If the root sourceItem is an Image, the clicks
work.
This patch removes the root Item, which makes the code
less organized, but at the same time it fixes the bug.
Bug reproduced on the following Qt versions on Ubuntu:
5.5.x, 5.7.x
Bug cannot be reproduced on Qt 5.9.x on Windows.
Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'ReleaseNotes')
0 files changed, 0 insertions, 0 deletions