aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-29 10:17:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-29 10:17:22 -0800
commita1aa83fcfd9a3a365c12974b6956e4f9b8323cf1 (patch)
treebc98afd67023d0787be3c910170bcf85e6eb650d /qt-mobile/qml/DiveList.qml
parent0eae59bcd29ba1242e26e8e0c4f52c12f790e521 (diff)
downloadsubsurface-a1aa83fcfd9a3a365c12974b6956e4f9b8323cf1.tar.gz
Minor cleanups
Improve readability of the code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r--qt-mobile/qml/DiveList.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index 12fc99182..1429d6776 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -23,7 +23,7 @@ MobileComponents.Page {
// When clicked, the mode changes to details view
onClicked: {
- diveListView.currentIndex = model.index
+ diveListView.currentIndex = index
detailsWindow.showDiveIndex(index);
stackView.push(detailsWindow);
}