summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-11-30 20:16:49 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-11 12:36:43 -0500
commit03c9cdfbede692f0277f5bb4324455a13dfc5977 (patch)
treece651ded6e97ad951fe6c59c9b2de4d0edcf8a40 /mobile-widgets
parenta637415de1551480230e71f24f35884372c2341c (diff)
downloadsubsurface-03c9cdfbede692f0277f5bb4324455a13dfc5977.tar.gz
mobile-widgets: activate uploadDiveLogsDE in qmlmanager
Remove "TO BE IMPLEMENTED" and add call doUpload Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qmlmanager.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index e1e5df0e5..21507c278 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -47,6 +47,8 @@
#include "core/trip.h"
#include "core/exportfuncs.h"
#include "core/worldmap-save.h"
+#include "core/uploadDiveLogsDE.h"
+
QMLManager *QMLManager::m_instance = NULL;
bool noCloudToCloud = false;
@@ -2190,10 +2192,7 @@ void QMLManager::exportToWEB(export_types type, QString userId, QString password
switch (type)
{
case EX_DIVELOGS_DE:
- // TO BE IMPLEMENTED
- // Current call in Desktop-widgets
- // DivelogsDeWebServices::instance()->
- // prepareDivesForUpload(ui->exportSelected->isChecked());
+ uploadDiveLogsDE::instance()->doUpload(false, userId, password);
break;
case EX_DIVESHARE:
// TO BE IMPLEMENTED
@@ -2205,5 +2204,4 @@ void QMLManager::exportToWEB(export_types type, QString userId, QString password
qDebug() << "upload to unknown type " << type << " using " << userId << "/" << password << " remove names " << anonymize;
break;
}
- qDebug() << "upload NOT implemented type " << type << " using " << userId << "/" << password << " remove names " << anonymize;
}