aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index b731a34d5..52f0d6a91 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -169,11 +169,11 @@ Rectangle {
}
StartPage {
anchors.fill: parent
- opacity: (diveModel.rowCount() == 0) ? 1.0 : 0
+ opacity: (diveListView.count == 0) ? 1.0 : 0
visible: opacity > 0
Behavior on opacity { NumberAnimation { duration: units.shortDuration } }
Component.onCompleted: {
- print("diveModel.count " + diveModel.rowCount());
+ print("diveListView.count " + diveListView.count);
}
}
}