X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fpages%2FMainPage.qml;h=101376a6b8b3ec0a17a028b6266cefea11e013af;hp=03d86a2e4b39c29b93bceb623c8a6e48cb1837f9;hb=e5b6de629d0585d29f0591deec4afec33f44f20c;hpb=371dcf3335b355f8d421352a394161dc6d9b9f24 diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 03d86a2..101376a 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -14,8 +14,8 @@ Page { // PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView PullDownMenu { MenuItem { - text: qsTr("Show Page 2") - onClicked: pageStack.push(Qt.resolvedUrl("SecondPage.qml")) + text: qsTr("About") + onClicked: pageStack.push(Qt.resolvedUrl("About.qml")) } } @@ -42,7 +42,7 @@ Page { text: currentStatus.cycling ? qsTr("Finish") : qsTr("Start a journey") onClicked: { if (currentStatus.cycling) { - var dialog = pageStack.push(Qt.resolvedUrl("AddJourney.qml"), {title: "Finish journey", start: journeymodel.epochToDateTime(currentStatus.startTime), duration: currentStatus.getDuration()}) + var dialog = pageStack.push(Qt.resolvedUrl("JourneyEdit.qml"), {title: "Finish journey", start: journeymodel.epochToDateTime(currentStatus.startTime), duration: currentStatus.getDuration()}) dialog.accepted.connect(function() { currentStatus.cycling = false @@ -61,7 +61,7 @@ Page { Button { anchors.horizontalCenter: parent.horizontalCenter text: qsTr("Enter journey") - onClicked: pageStack.push(Qt.resolvedUrl("AddJourney.qml")) + onClicked: pageStack.push(Qt.resolvedUrl("JourneyEdit.qml")) } SectionHeader {