mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
QML UI: remove unused property
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7f7e7cf51d
commit
b75eae95c1
2 changed files with 0 additions and 14 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue