From 807571a5887baa71f7271bf0fff2397090ec9489 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 9 Jun 2018 16:46:19 +0200 Subject: core: update deviceData default from qml remove setting default in qml to C++ Signed-off-by: Jan Iversen --- core/downloadfromdcthread.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') 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; -- cgit v1.2.3-70-g09d2