diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-05-26 17:53:25 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-27 11:07:20 -0700 |
commit | 38e24512b74dcfb0f473fe0c8003c66e99354409 (patch) | |
tree | da874a08a20503079978a32a9a2fe2ee92c06213 /subsurface-mobile-helper.cpp | |
parent | 7858376727ee467ae59a18d84d40e3148ea3e38b (diff) | |
download | subsurface-38e24512b74dcfb0f473fe0c8003c66e99354409.tar.gz |
QML UI: add the Downloaded Dive Model
Still to do:
- select the dives to save
- record the downloaded dives
but download is already working. :)
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r-- | subsurface-mobile-helper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp index dec4fa160..7d9037775 100644 --- a/subsurface-mobile-helper.cpp +++ b/subsurface-mobile-helper.cpp @@ -22,6 +22,7 @@ #include "qt-models/gpslistmodel.h" #include "mobile-widgets/qmlprofile.h" #include "core/downloadfromdcthread.h" +#include "qt-models/diveimportedmodel.h" #include "mobile-widgets/qml/kirigami/src/kirigamiplugin.h" @@ -39,6 +40,7 @@ void run_ui() qmlRegisterType<DCDeviceData>("org.subsurfacedivelog.mobile", 1, 0, "DCDeviceData"); qmlRegisterType<DownloadThread>("org.subsurfacedivelog.mobile", 1, 0, "DCDownloadThread"); + qmlRegisterType<DiveImportedModel>("org.subsurfacedivelog.mobile", 1, 0, "DCImportModel"); QQmlApplicationEngine engine; KirigamiPlugin::getInstance().registerTypes(); |