Better id for yet another QML item

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-01-28 18:27:54 -08:00
parent c52769a90f
commit bac39b5482

View file

@ -219,7 +219,7 @@ MobileComponents.ApplicationWindow {
property Item stackView: pageStack property Item stackView: pageStack
initialPage: DiveList { initialPage: DiveList {
anchors.fill: detailsPage anchors.fill: detailsPage
id: diveDetails id: diveList
opacity: 0 opacity: 0
Behavior on opacity { Behavior on opacity {
NumberAnimation { NumberAnimation {
@ -273,7 +273,7 @@ MobileComponents.ApplicationWindow {
Component.onCompleted: { Component.onCompleted: {
manager.finishSetup(); manager.finishSetup();
rootItem.visible = true rootItem.visible = true
diveDetails.opacity = 1 diveList.opacity = 1
rootItem.opacity = 1 rootItem.opacity = 1
} }
Behavior on opacity { Behavior on opacity {