QML UI: remove unused property

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-06-20 13:23:59 +09:00
parent 7f7e7cf51d
commit b75eae95c1
2 changed files with 0 additions and 14 deletions

View file

@ -1681,21 +1681,11 @@ int QMLManager::DC_deviceId() const
return m_device_data->deviceId();
}
int QMLManager::DC_diveId() const
{
return m_device_data->diveId();
}
void QMLManager::DC_setDeviceId(int deviceId)
{
m_device_data->setDeviceId(deviceId);
}
void QMLManager::DC_setDiveId(int diveId)
{
m_device_data->setDiveId(diveId);
}
void QMLManager::DC_setVendor(const QString& vendor)
{
m_device_data->setVendor(vendor);

View file

@ -50,7 +50,6 @@ class QMLManager : public QObject {
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)
Q_PROPERTY(int DC_diveId READ DC_diveId WRITE DC_setDiveId)
public:
QMLManager();
~QMLManager();
@ -87,9 +86,6 @@ public:
int DC_deviceId() const;
void DC_setDeviceId(int deviceId);
int DC_diveId() const;
void DC_setDiveId(int diveId);
Q_INVOKABLE QStringList getProductListFromVendor(const QString& vendor);
Q_INVOKABLE int getMatchingAddress(const QString &vendor, const QString &product);
Q_INVOKABLE int getDetectedVendorIndex();