diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 345288d25..5310bb4d6 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -137,4 +137,8 @@ Item { } } } + + MapWidgetContextMenu { + id: contextMenu + } } diff --git a/mobile-widgets/qml/MapWidgetContextMenu.qml b/mobile-widgets/qml/MapWidgetContextMenu.qml new file mode 100644 index 000000000..f26a700f7 --- /dev/null +++ b/mobile-widgets/qml/MapWidgetContextMenu.qml @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +import QtQuick 2.7 + +Item { + Rectangle { + width: 100; height: width + color: "white" + } +} diff --git a/subsurface.qrc b/subsurface.qrc index f6ef2f417..00113696c 100644 --- a/subsurface.qrc +++ b/subsurface.qrc @@ -1,6 +1,7 @@ mobile-widgets/qml/MapWidget.qml + mobile-widgets/qml/MapWidgetContextMenu.qml mobile-widgets/qml/icons/mapwidget-marker.png mobile-widgets/qml/icons/mapwidget-marker-selected.png mobile-widgets/qml/icons/mapwidget-toggle-satellite.png