diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-31 18:09:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-31 18:16:47 -0800 |
commit | b84308bcfbc79eae2f23f2accc9e9643cbf228ce (patch) | |
tree | 1dc1446901aed9d25540af2a4c4725b0723f0d27 /qt-mobile | |
parent | da5d904d34bea40eb87429c66e7378a23ea8c8b1 (diff) | |
download | subsurface-b84308bcfbc79eae2f23f2accc9e9643cbf228ce.tar.gz |
QML UI: we don't need those semicolons
The code is rather inconsistent when it comes to the use of semicolons in the
JS code. Let's try to not have them...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r-- | qt-mobile/qml/DiveDetails.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-mobile/qml/DiveDetails.qml b/qt-mobile/qml/DiveDetails.qml index 912a97840..c2fb4df1a 100644 --- a/qt-mobile/qml/DiveDetails.qml +++ b/qt-mobile/qml/DiveDetails.qml @@ -55,12 +55,12 @@ MobileComponents.Page { if (diveDetailsWindow.state == "edit") { manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText, detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText, - detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText); - diveDetailsWindow.state = "view"; + detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText) + diveDetailsWindow.state = "view" } else { - diveDetailsWindow.state = "edit"; + diveDetailsWindow.state = "edit" } - contextDrawer.close(); + contextDrawer.close() // close drawer? } } |