mobile: remove export as UDDF

The export functionality is horridly poorly implemented, and the UDDF export
isn't actually functional on mobile. And why would we support this in the first
place? That's not a reasonable expectation for the mobile app.

So let's just completely remove that and good riddance.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-30 12:38:40 -07:00
parent 173093d314
commit ead15f622a
3 changed files with 0 additions and 12 deletions

View file

@ -152,14 +152,6 @@ TemplatePage {
explain.text = qsTr("Subsurface dive sites native XML format.")
}
}
TemplateRadioButton {
text: qsTr("Export UDDF")
visible: Qt.platform.os !== "android"
onClicked: {
selectedExport = ExportType.EX_UDDF
explain.text = qsTr("Generic format that is used for data exchange between a variety of diving related programs.")
}
}
TemplateRadioButton {
text: qsTr("Upload divelogs.de")
onClicked: {

View file

@ -2211,9 +2211,6 @@ void QMLManager::exportToFile(export_types type, QString dir, bool anonymize)
save_dive_sites_logic(qPrintable(fileName + ".xml"), sites.data(), (int)sites.size(), anonymize);
break;
}
case EX_UDDF:
exportUsingStyleSheet(fileName + ".uddf", true, 0, "uddf-export.xslt", anonymize);
break;
default:
qDebug() << "export to unknown type " << type << " using " << dir << " remove names " << anonymize;
break;

View file

@ -66,7 +66,6 @@ public:
enum export_types {
EX_DIVES_XML,
EX_DIVE_SITES_XML,
EX_UDDF,
EX_DIVELOGS_DE,
EX_DIVESHARE
};