summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-06-04 15:00:49 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-06 10:08:09 -0700
commit7c9e6cac2eda2ea66e63610b984dfcea0b8ad941 (patch)
treeda225790457b19221466a57e38462b6fa68f700b /qt-ui/divelogexportdialog.cpp
parent464a611d8d5dbef8c3d62320f7b89e6c4ffaab53 (diff)
downloadsubsurface-7c9e6cac2eda2ea66e63610b984dfcea0b8ad941.tar.gz
HTML: export to system dependant path separator
This will make the exporting path separators platform dependant Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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);