summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelogexportdialog.cpp')
-rw-r--r--qt-ui/divelogexportdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp
index ada5dabcf..f73a1ca51 100644
--- a/qt-ui/divelogexportdialog.cpp
+++ b/qt-ui/divelogexportdialog.cpp
@@ -74,7 +74,7 @@ void DiveLogExportDialog::exportHtmlInit(QString filename)
QDir::home().mkpath(filename);
}
- QString json_dive_data = filename + "/file.json";
+ QString json_dive_data = filename + QDir::separator() + "file.json";
QString json_settings = filename + "/settings.json";
exportHTMLsettings(json_settings);