mobile: removed setting for libdivecomputer.log

Users need a simple way to report download problems. Asking them
to go into settings, activate logging, and repeat the download
is too much.

libdivecomputer.log will always be generated, but overwritten, with every
download, so the latest log is ready.

The download is very slow due to BT, so there are no impact of having the log
active, neither in terms of size (a concern on small mobiles) or write time.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-20 16:15:13 +02:00 committed by Dirk Hohndel
parent 67838de5bc
commit 571965ec6d
4 changed files with 2 additions and 48 deletions

View file

@ -137,8 +137,7 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false),
m_selectedDiveTimestamp(0),
m_credentialStatus(CS_UNKNOWN),
alreadySaving(false),
m_device_data(new DCDeviceData(this)),
m_libdcLog(false)
m_device_data(new DCDeviceData(this))
{
m_instance = this;
m_lastDevicePixelRatio = qApp->devicePixelRatio();
@ -1634,13 +1633,6 @@ void QMLManager::setProgressMessage(QString text)
emit progressMessageChanged();
}
void QMLManager::setLibdcLog(bool value)
{
m_libdcLog = value;
DCDeviceData::instance()->setSaveLog(value);
emit libdcLogChanged();
}
void QMLManager::setDeveloper(bool value)
{
m_developer = value;