mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:03:24 +00:00
mobile-widgets: activate uploadDiveLogsDE in qmlmanager
Remove "TO BE IMPLEMENTED" and add call doUpload Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
a637415de1
commit
03c9cdfbed
1 changed files with 3 additions and 5 deletions
|
@ -47,6 +47,8 @@
|
||||||
#include "core/trip.h"
|
#include "core/trip.h"
|
||||||
#include "core/exportfuncs.h"
|
#include "core/exportfuncs.h"
|
||||||
#include "core/worldmap-save.h"
|
#include "core/worldmap-save.h"
|
||||||
|
#include "core/uploadDiveLogsDE.h"
|
||||||
|
|
||||||
|
|
||||||
QMLManager *QMLManager::m_instance = NULL;
|
QMLManager *QMLManager::m_instance = NULL;
|
||||||
bool noCloudToCloud = false;
|
bool noCloudToCloud = false;
|
||||||
|
@ -2190,10 +2192,7 @@ void QMLManager::exportToWEB(export_types type, QString userId, QString password
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case EX_DIVELOGS_DE:
|
case EX_DIVELOGS_DE:
|
||||||
// TO BE IMPLEMENTED
|
uploadDiveLogsDE::instance()->doUpload(false, userId, password);
|
||||||
// Current call in Desktop-widgets
|
|
||||||
// DivelogsDeWebServices::instance()->
|
|
||||||
// prepareDivesForUpload(ui->exportSelected->isChecked());
|
|
||||||
break;
|
break;
|
||||||
case EX_DIVESHARE:
|
case EX_DIVESHARE:
|
||||||
// TO BE IMPLEMENTED
|
// 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;
|
qDebug() << "upload to unknown type " << type << " using " << userId << "/" << password << " remove names " << anonymize;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
qDebug() << "upload NOT implemented type " << type << " using " << userId << "/" << password << " remove names " << anonymize;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue