summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-27 16:05:36 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-27 16:05:36 -0700
commitef17c78e2387ac0e26a3334ecc287f16e82ab06e (patch)
tree89e0dd6ec1f552dc3b679cd09bd02d2765e80832
parent314b08c78f3860c4049a87badbf72f6fe1a62602 (diff)
downloadsubsurface-ef17c78e2387ac0e26a3334ecc287f16e82ab06e.tar.gz
QML UI: remove unused property
We always save the libdivecomputer log. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp10
-rw-r--r--mobile-widgets/qmlmanager.h4
2 files changed, 0 insertions, 14 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 8d4ae6314..b6ba205c2 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1675,11 +1675,6 @@ bool QMLManager::DC_saveDump() const
return m_device_data->saveDump();
}
-bool QMLManager::DC_saveLog() const
-{
- return m_device_data->saveLog();
-}
-
int QMLManager::DC_deviceId() const
{
return m_device_data->deviceId();
@@ -1730,11 +1725,6 @@ void QMLManager::DC_setSaveDump(bool dumpMode)
m_device_data->setSaveDump(dumpMode);
}
-void QMLManager::DC_setSaveLog(bool saveLog)
-{
- m_device_data->setSaveLog(saveLog);
-}
-
QStringList QMLManager::getProductListFromVendor(const QString &vendor)
{
return m_device_data->getProductListFromVendor(vendor);
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 0fe9dc171..eff68c59b 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -48,7 +48,6 @@ class QMLManager : public QObject {
Q_PROPERTY(bool DC_bluetoothMode READ DC_bluetoothMode WRITE DC_setBluetoothMode)
Q_PROPERTY(bool DC_createNewTrip READ DC_createNewTrip WRITE DC_setCreateNewTrip)
Q_PROPERTY(bool DC_saveDump READ DC_saveDump WRITE DC_setSaveDump)
- Q_PROPERTY(bool DC_saveLog READ DC_saveLog WRITE DC_setSaveLog)
Q_PROPERTY(int DC_deviceId READ DC_deviceId WRITE DC_setDeviceId)
public:
QMLManager();
@@ -80,9 +79,6 @@ public:
bool DC_saveDump() const;
void DC_setSaveDump(bool dumpMode);
- bool DC_saveLog() const;
- void DC_setSaveLog(bool saveLog);
-
int DC_deviceId() const;
void DC_setDeviceId(int deviceId);