summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-13 09:28:55 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-13 09:28:55 -0700
commit9a2e3ce7e8cbdf67f32b8581ac3e9735f4824793 (patch)
treec74fd6f6bdda4ad59c187e540088abadcb6d86f8 /mobile-widgets/qmlmanager.cpp
parentc0a4ffead8c29b7bfc32111bc140745248abe796 (diff)
downloadsubsurface-9a2e3ce7e8cbdf67f32b8581ac3e9735f4824793.tar.gz
Remove unused function
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp8
1 files changed, 0 insertions, 8 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();