diff options
author | jan Iversen <jani@libreoffice.org> | 2018-06-09 16:46:19 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-09 21:19:46 +0200 |
commit | 807571a5887baa71f7271bf0fff2397090ec9489 (patch) | |
tree | 7141bddeb7fcc16ccdc8d2f2d57e6c58e1b0818d /core/downloadfromdcthread.cpp | |
parent | 682e1b63f5554e23d1fc295032635bfcb88d2c95 (diff) | |
download | subsurface-807571a5887baa71f7271bf0fff2397090ec9489.tar.gz |
core: update deviceData default from qml
remove setting default in qml to C++
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r-- | core/downloadfromdcthread.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index e837b0442..69c41c229 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -212,6 +212,11 @@ DCDeviceData::DCDeviceData(QObject *parent) : QObject(parent) data.download_table = nullptr; data.diveid = 0; data.deviceid = 0; + data.bluetooth_mode = true; + data.force_download = false; + data.create_new_trip = false; + data.libdc_dump = false; + data.libdc_log = false; if (m_instance) { qDebug() << "already have an instance of DCDevieData"; return; |