mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
2 changed files with 0 additions and 14 deletions
|
@ -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…
Add table
Reference in a new issue