From 7c9e6cac2eda2ea66e63610b984dfcea0b8ad941 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Wed, 4 Jun 2014 15:00:49 +0300 Subject: HTML: export to system dependant path separator This will make the exporting path separators platform dependant Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/divelogexportdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2