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>
This commit is contained in:
Dirk Hohndel 2015-12-31 18:09:10 -08:00
parent da5d904d34
commit b84308bcfb

View file

@ -55,12 +55,12 @@ MobileComponents.Page {
if (diveDetailsWindow.state == "edit") { if (diveDetailsWindow.state == "edit") {
manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText, manager.commitChanges(dive_id, detailsEdit.locationText, detailsEdit.gpsText, detailsEdit.durationText,
detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText, detailsEdit.depthText, detailsEdit.airtempText, detailsEdit.watertempText, detailsEdit.suitText,
detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText); detailsEdit.buddyText, detailsEdit.divemasterText, detailsEdit.notesText)
diveDetailsWindow.state = "view"; diveDetailsWindow.state = "view"
} else { } else {
diveDetailsWindow.state = "edit"; diveDetailsWindow.state = "edit"
} }
contextDrawer.close(); contextDrawer.close()
// close drawer? // close drawer?
} }
} }