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>
This commit is contained in:
parent
464a611d8d
commit
7c9e6cac2e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user