QML UI: remove unused property
We always save the libdivecomputer log. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
314b08c78f
commit
ef17c78e23
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user