summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier S. Pedro <dev.git@javispedro.com>2014-09-28 00:01:34 +0200
committerJavier S. Pedro <dev.git@javispedro.com>2014-09-28 00:01:34 +0200
commit75e3ea1a6ede925d8aca4dca3793a629da98ed04 (patch)
tree26d9fe35e00b734f006b5db89bb4691b4ab268a2
parent327dab50c887d2818cac9109049bf5fc1f391a17 (diff)
downloadsalmeta-75e3ea1a6ede925d8aca4dca3793a629da98ed04.tar.gz
salmeta-75e3ea1a6ede925d8aca4dca3793a629da98ed04.zip
fix broken watchface .qml -> .png mapping
-rw-r--r--qml/watch/faces/builtinface1.qml2
-rw-r--r--qml/watch/faces/builtinface4.qml2
-rw-r--r--src/availablewidgetsmodel.cpp1
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);