diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-16 23:59:09 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 5266a5e84bad48c8423f67a24f8e33552d0bad90 (patch) | |
tree | 1dc31b90dc89179fe07f256d5708aa9bf142cbf2 /mobile-widgets | |
parent | 118a3b9804b61aa19ad7f57cfd2e365c7127a91f (diff) | |
download | subsurface-5266a5e84bad48c8423f67a24f8e33552d0bad90.tar.gz |
MapWidget.qml: reference the Map object in the MapWidgetHelper object
The idea here is that the Map object can be controlled from C++ via
the "m_map" private member. Also, for the mobile version, QML code can
call the same C++ methods (if marked as Q_INVOCABLE).
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 2539eef25..60f67d162 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -14,6 +14,7 @@ Item { MapWidgetHelper { id: mapHelper + map: map } Map { |