diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-08-28 11:12:21 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-28 07:43:18 -0700 |
commit | 3925aed5eaad0a37ec6a8614ba391b6703c45d39 (patch) | |
tree | ddd046cbd2c037e50c3cd15220c450bc88c240ac /qt-ui/divelogexportdialog.cpp | |
parent | abfa4f2108080d17aec969c56b0b4d546b85365c (diff) | |
download | subsurface-3925aed5eaad0a37ec6a8614ba391b6703c45d39.tar.gz |
HTML: Changing the files extensions to js
These are actually javascript files containing js objects and not json
files.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogexportdialog.cpp')
-rw-r--r-- | qt-ui/divelogexportdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index 99669d6d4..67803eeee 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -93,10 +93,10 @@ void DiveLogExportDialog::exportHtmlInit(const QString &filename) mainDir.mkdir(file.fileName() + "_files"); QString exportFiles = file.fileName() + "_files"; - QString json_dive_data = exportFiles + QDir::separator() + "file.json"; - QString json_settings = exportFiles + QDir::separator() + "settings.json"; - QString translation = exportFiles + QDir::separator() + "translation.json"; - QString stat_file = exportFiles + QDir::separator() + "stat.json"; + QString json_dive_data = exportFiles + QDir::separator() + "file.js"; + QString json_settings = exportFiles + QDir::separator() + "settings.js"; + QString translation = exportFiles + QDir::separator() + "translation.js"; + QString stat_file = exportFiles + QDir::separator() + "stat.js"; QString photos_directory = exportFiles + QDir::separator() + "photos" + QDir::separator(); mainDir.mkdir(photos_directory); exportFiles += "/"; |