diff options
-rw-r--r-- | desktop-widgets/mapwidget.cpp | 2 | ||||
-rw-r--r-- | subsurface.qrc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp index ffd711835..c378b9fb3 100644 --- a/desktop-widgets/mapwidget.cpp +++ b/desktop-widgets/mapwidget.cpp @@ -18,7 +18,7 @@ MapWidget::MapWidget(QWidget *parent) : QQuickWidget(parent) qmlRegisterType<MapLocationModel>("org.subsurfacedivelog.mobile", 1, 0, "MapLocationModel");
qmlRegisterType<MapLocation>("org.subsurfacedivelog.mobile", 1, 0, "MapLocation");
- setSource(QUrl(QStringLiteral("qrc:/mapwidget-qml")));
+ setSource(QUrl(QStringLiteral("qrc:/MapWidget.qml")));
setResizeMode(QQuickWidget::SizeRootObjectToView);
m_rootItem = qobject_cast<QQuickItem *>(rootObject());
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> |