aboutsummaryrefslogtreecommitdiffstats
path: root/core/divelogexportlogic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelogexportlogic.cpp')
-rw-r--r--core/divelogexportlogic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelogexportlogic.cpp b/core/divelogexportlogic.cpp
index 5df24dce2..283cffbca 100644
--- a/core/divelogexportlogic.cpp
+++ b/core/divelogexportlogic.cpp
@@ -143,7 +143,7 @@ void exportHtmlInitLogic(const QString &filename, struct htmlExportSetting &hes)
exportHTMLsettings(json_settings, hes);
exportHTMLstatistics(stat_file, hes);
- export_translation(translation.toUtf8().data());
+ export_translation(qPrintable(translation));
export_HTML(qPrintable(json_dive_data), qPrintable(photosDirectory), hes.selectedOnly, hes.listOnly);