From 571965ec6d9a26a543760b8470b093270dd08fbe Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 20 May 2018 16:15:13 +0200 Subject: mobile: removed setting for libdivecomputer.log Users need a simple way to report download problems. Asking them to go into settings, activate logging, and repeat the download is too much. libdivecomputer.log will always be generated, but overwritten, with every download, so the latest log is ready. The download is very slow due to BT, so there are no impact of having the log active, neither in terms of size (a concern on small mobiles) or write time. Signed-off-by: Jan Iversen --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 +- mobile-widgets/qml/Settings.qml | 32 ------------------------- 2 files changed, 1 insertion(+), 33 deletions(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 1fd374b4a..268a2aa69 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -34,7 +34,7 @@ Kirigami.Page { deviceData.deviceId : 0 deviceData.diveId : 0 deviceData.saveDump : false - deviceData.saveLog : false + deviceData.saveLog : true onFinished : { importModel.repopulate() diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 6f1ad3486..40ee2ea08 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -306,38 +306,6 @@ Kirigami.ScrollablePage { opacity: 0.5 Layout.fillWidth: true } - GridLayout { - id: libdclogprefs - columns: 2 - width: parent.width - Kirigami.Heading { - text: qsTr("Dive computer") - color: subsurfaceTheme.textColor - level: 4 - Layout.topMargin: Kirigami.Units.largeSpacing - Layout.bottomMargin: Kirigami.Units.largeSpacing / 2 - Layout.columnSpan: 2 - } - - Controls.Label { - text: qsTr("Save detailed log") - Layout.preferredWidth: gridWidth * 0.75 - } - SsrfSwitch { - id: libdclogButton - checked: manager.libdcLog - Layout.preferredWidth: gridWidth * 0.25 - onClicked: { - manager.libdcLog = checked - } - } - } - Rectangle { - color: subsurfaceTheme.darkerPrimaryColor - height: 1 - opacity: 0.5 - Layout.fillWidth: true - } GridLayout { id: developer columns: 2 -- cgit v1.2.3-70-g09d2