aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@libreoffice.org>2018-05-20 16:15:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-21 07:57:14 -0700
commit571965ec6d9a26a543760b8470b093270dd08fbe (patch)
treea956d964313db877f8f538627720b767a5cc6434 /mobile-widgets/qml
parent67838de5bc6cad6edf5ad7a92279df0f3f32bf0d (diff)
downloadsubsurface-571965ec6d9a26a543760b8470b093270dd08fbe.tar.gz
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 <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml2
-rw-r--r--mobile-widgets/qml/Settings.qml32
2 files changed, 1 insertions, 33 deletions
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
@@ -307,38 +307,6 @@ Kirigami.ScrollablePage {
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
width: parent.width - Kirigami.Units.gridUnit