summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-01-10 08:45:34 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-10 09:25:57 -0700
commit3c2a192864c3c3b92f93a15e76c7bd4211106126 (patch)
tree610c5a91d1133e8b52d26a6a77d4001b0993bab8 /mobile-widgets/qmlmanager.cpp
parent6400867910959ba566adc7596fb9e9c2fd48a7c3 (diff)
downloadsubsurface-3c2a192864c3c3b92f93a15e76c7bd4211106126.tar.gz
mobile: remove no longer used DiveListModel
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index dc4961cef..f9fdb3a87 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -19,7 +19,6 @@
#include <QBluetoothLocalDevice>
-#include "qt-models/divelistmodel.h"
#include "qt-models/gpslistmodel.h"
#include "qt-models/completionmodels.h"
#include "qt-models/messagehandlermodel.h"
@@ -28,6 +27,7 @@
#include "core/device.h"
#include "core/errorhelper.h"
#include "core/file.h"
+#include "core/divefilter.h"
#include "core/qthelper.h"
#include "core/qt-gui.h"
#include "core/git-access.h"
@@ -44,6 +44,7 @@
#include "core/settings/qPrefTechnicalDetails.h"
#include "core/settings/qPrefPartialPressureGas.h"
#include "core/settings/qPrefUnit.h"
+#include "core/subsurface-qt/diveobjecthelper.h"
#include "core/trip.h"
#include "backend-shared/exportfuncs.h"
#include "core/worldmap-save.h"
@@ -1409,8 +1410,6 @@ void QMLManager::selectDive(int id)
}
if (amount_selected == 0)
qWarning("QManager::selectDive() called with unknown id");
- // else
- // FIXME: CollapsedDiveListSortModel::instance()->updateSelectionState();
}
void QMLManager::deleteDive(int id)