aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-10-15 21:19:29 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-15 17:28:39 -0800
commit4c7ce5c1aa4493fa3bf03b3eee54606ab701cce9 (patch)
tree0675d1829df8877c41b93f9a749266f8320a2efd /mobile-widgets/qmlmanager.h
parentd1e7e6e69913d09f65a805cb3f1e6548e28e5999 (diff)
downloadsubsurface-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 'mobile-widgets/qmlmanager.h')
0 files changed, 0 insertions, 0 deletions