Mobile: Remove unused components from build.

Remove import / export components that are not supported in the mobile
version from the mobild build.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2025-01-04 17:08:17 +08:00
parent 972b7a0643
commit c8f0f82182
4 changed files with 17 additions and 22 deletions

View file

@ -325,8 +325,10 @@ std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly)
return res;
}
#if !defined(SUBSURFACE_MOBILE)
QFuture<int> exportUsingStyleSheet(const QString &filename, bool doExport, int units,
const QString &stylesheet, bool anonymize)
{
return QtConcurrent::run(export_dives_xslt, filename.toUtf8(), doExport, units, stylesheet.toUtf8(), anonymize);
}
#endif