subsurface/mobile-widgets
Lubomir I. Ivanov 4c7ce5c1aa 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>
2017-10-15 17:28:39 -08:00
..
qml mapwidget.qml: fix weird MouseArea bug in MapItemView 2017-10-15 17:28:39 -08:00
qmlmanager.cpp mobile: enable switching BT on/off during session. 2017-10-12 09:43:40 +02:00
qmlmanager.h mobile: enable switching BT on/off during session. 2017-10-12 09:43:40 +02:00
qmlmapwidgethelper.cpp Use lrint() for all degrees_t related rounding 2017-10-09 13:38:58 +03:00
qmlmapwidgethelper.h mapwidgethelper: use dynamic creation of the Plugin object 2017-08-24 13:11:39 -07:00
qmlprofile.cpp QML UI: adjust to modified logging API 2017-06-11 13:55:41 -07:00
qmlprofile.h Add SPDX header to mobile widgets and QML files 2017-04-29 13:32:55 -07:00