From 75e3ea1a6ede925d8aca4dca3793a629da98ed04 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sun, 28 Sep 2014 00:01:34 +0200 Subject: fix broken watchface .qml -> .png mapping --- qml/watch/faces/builtinface1.qml | 2 +- qml/watch/faces/builtinface4.qml | 2 +- src/availablewidgetsmodel.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qml/watch/faces/builtinface1.qml b/qml/watch/faces/builtinface1.qml index 3d4bb57..3602809 100644 --- a/qml/watch/faces/builtinface1.qml +++ b/qml/watch/faces/builtinface1.qml @@ -6,6 +6,6 @@ Rectangle { Image { anchors.fill: parent - source: "builtinface3.png" + source: "builtinface1.png" } } diff --git a/qml/watch/faces/builtinface4.qml b/qml/watch/faces/builtinface4.qml index ca542d4..f9eff50 100644 --- a/qml/watch/faces/builtinface4.qml +++ b/qml/watch/faces/builtinface4.qml @@ -6,6 +6,6 @@ Rectangle { Image { anchors.fill: parent - source: "builtinface3.png" + source: "builtinface4.png" } } diff --git a/src/availablewidgetsmodel.cpp b/src/availablewidgetsmodel.cpp index 77304b9..7e3de6f 100644 --- a/src/availablewidgetsmodel.cpp +++ b/src/availablewidgetsmodel.cpp @@ -59,7 +59,6 @@ void AvailableWidgetsModel::reload() Q_ASSERT(info.builtinClockfaceId() == 0); // Ensure face ID is autodetected from passed URL _widgets.append(info); - info.setUrl(SailfishApp::pathTo("qml/watch/faces/builtinface1.qml")); info.setDescription(tr("Watchface: 2x1 Horizontal")); info.setSize(WidgetInfo::Size2QHorizontal); -- cgit v1.2.3