From b84308bcfbc79eae2f23f2accc9e9643cbf228ce Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 31 Dec 2015 18:09:10 -0800 Subject: 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 --- qt-mobile/qml/DiveDetails.qml | 8 ++++---- 1 file 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? } } -- cgit v1.2.3-70-g09d2