From 1f0a68bb21826934aabf48a5e627e555ac6ca54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 21 Sep 2019 09:25:44 +0800 Subject: Home initially shows today's task list --- Home.qml | 2 ++ forms/HomeForm.ui.qml | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Home.qml b/Home.qml index eb5f321..e07fbf7 100644 --- a/Home.qml +++ b/Home.qml @@ -41,4 +41,6 @@ HomeForm { } } } + + contentView.initialItem: Today {} } diff --git a/forms/HomeForm.ui.qml b/forms/HomeForm.ui.qml index 7aeea4a..0eb77f0 100644 --- a/forms/HomeForm.ui.qml +++ b/forms/HomeForm.ui.qml @@ -60,15 +60,5 @@ Page { StackView { id: contentView anchors.fill: parent - initialItem: Page { - id: page - title: qsTr("Today") - - Label { - text: qsTr("Load `contentView` here") - anchors.verticalCenter: parent.verticalCenter - anchors.horizontalCenter: parent.horizontalCenter - } - } } } -- cgit v1.2.3