core: remove qml properties from downloadfromcthread

Remove Q_OBJECT and qml properties from DCDeviceData class
Remove DCDeviceData register from mobile-helper.cpp
Change DCDeviceData constructor to be without parameters

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-06-09 16:59:02 +02:00 committed by Dirk Hohndel
parent 807571a588
commit 470c218b79
4 changed files with 5 additions and 48 deletions

View file

@ -138,7 +138,7 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
m_selectedDiveTimestamp(0),
m_credentialStatus(CS_UNKNOWN),
alreadySaving(false),
m_device_data(new DCDeviceData(this))
m_device_data(new DCDeviceData)
{
LOG_STP("qmlmgr starting");
m_instance = this;