mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue