summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-27 16:00:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-27 16:01:12 -0700
commit314b08c78f3860c4049a87badbf72f6fe1a62602 (patch)
treefab6f9b240cc19349fd38e9913c53b08c48c7e00 /core/downloadfromdcthread.cpp
parent59cd3902a18c0ca986c9ab5db2128d07dfc6d40b (diff)
downloadsubsurface-314b08c78f3860c4049a87badbf72f6fe1a62602.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp4
1 files changed, 4 insertions, 0 deletions
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;