summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-21 09:25:44 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-21 09:25:44 +0800
commit1f0a68bb21826934aabf48a5e627e555ac6ca54f (patch)
treec21e472ae77f913a125bb06ef8525fa5df1d702f
parent552fd78f70ad29490a7536d86a653a43c3c89a5f (diff)
Home initially shows today's task list
-rw-r--r--Home.qml2
-rw-r--r--forms/HomeForm.ui.qml10
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
- }
- }
}
}