summaryrefslogtreecommitdiffstats
path: root/subsurface.qrc
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-20 16:50:16 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commitb7c4a7fbfc92ba359dfd39cf61ad56492b7b8004 (patch)
treea430728346a94c4e8c4da27468e70ee8007004a8 /subsurface.qrc
parentb0cf820bef0699934f61af686598f751115e44f6 (diff)
downloadsubsurface-b7c4a7fbfc92ba359dfd39cf61ad56492b7b8004.tar.gz
qrc: use "MapWidget.qml" as a QRC alias
Apparently, if it's required to import a QML component inside any QML file from resource, the compoment QRC alias has to have the same name as the component - e.g. add QRC alias MapWidgetContextMenu.qml allows creating a MapWidgetContextMenu compoment inside MapWidget.qml. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'subsurface.qrc')
-rw-r--r--subsurface.qrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface.qrc b/subsurface.qrc
index a41f479f1..f6ef2f417 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/">
- <file alias="mapwidget-qml">mobile-widgets/qml/MapWidget.qml</file>
+ <file alias="MapWidget.qml">mobile-widgets/qml/MapWidget.qml</file>
<file alias="mapwidget-marker">mobile-widgets/qml/icons/mapwidget-marker.png</file>
<file alias="mapwidget-marker-selected">mobile-widgets/qml/icons/mapwidget-marker-selected.png</file>
<file alias="mapwidget-toggle-satellite">mobile-widgets/qml/icons/mapwidget-toggle-satellite.png</file>