summaryrefslogtreecommitdiff
path: root/sowatchui/qml/MainPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchui/qml/MainPage.qml')
-rw-r--r--sowatchui/qml/MainPage.qml7
1 files changed, 3 insertions, 4 deletions
diff --git a/sowatchui/qml/MainPage.qml b/sowatchui/qml/MainPage.qml
index d722b3d..339b1a6 100644
--- a/sowatchui/qml/MainPage.qml
+++ b/sowatchui/qml/MainPage.qml
@@ -32,10 +32,9 @@ Page {
anchors.verticalCenter: parent.verticalCenter
}
- onClicked: {
- var page = Qt.createComponent("WatchPage.qml");
- pageStack.push(page);
- }
+ onClicked: pageStack.push(Qt.resolvedUrl("WatchPage.qml"),
+ {configKey: model.configKey,
+ configQmlUrl: model.configQmlUrl});
}
}
ScrollDecorator {