From 314b08c78f3860c4049a87badbf72f6fe1a62602 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 27 Jun 2018 16:00:31 -0700 Subject: [PATCH] QML UI: go back to always saving libdivecomputer logfile This got disabled as unintended (I hope) side effect of commit 807571a588 ("core: update deviceData default from qml"). Signed-off-by: Dirk Hohndel --- core/downloadfromdcthread.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 21d1b4c20..082ca5c63 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -220,7 +220,11 @@ DCDeviceData::DCDeviceData() data.force_download = false; data.create_new_trip = false; data.libdc_dump = false; +#if defined(SUBSURFACE_MOBILE) + data.libdc_log = true; +#else data.libdc_log = false; +#endif if (m_instance) { qDebug() << "already have an instance of DCDevieData"; return;