diff options
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 8 | ||||
-rw-r--r-- | mobile-widgets/qmlmanager.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index c225f689e..f1f942f78 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1072,14 +1072,6 @@ void QMLManager::setOldStatus(const credentialStatus_t value) } } -// where in the QML dive list is that dive? -int QMLManager::getIndex(const QString &diveId) -{ - int dive_id = diveId.toInt(); - int idx = DiveListModel::instance()->getDiveIdx(dive_id); - return idx; -} - QString QMLManager::getNumber(const QString& diveId) { int dive_id = diveId.toInt(); diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 6a0ba455b..1c86e96b9 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -113,7 +113,6 @@ public slots: void clearGpsData(); void finishSetup(); void openLocalThenRemote(QString url); - int getIndex(const QString& diveId); QString getNumber(const QString& diveId); QString getDate(const QString& diveId); QString getCurrentPosition(); |