From afe363fa8569c0634e5bc20dc54c204533a638d7 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 10 Sep 2018 14:47:56 +0200 Subject: Optional anonymization upon export Add a checkbox that triggers replacement of all English characters by x's in notes, buddy, dive guide and (while we are at it) suit. This is ment for people sharing logs for debugging that are concious about privacy issues. It leaves the lenth of strings in tact as well as special charcters as those might be needed to track down a particular parsing problem. Signed-off-by: Robert C. Helling --- smtk-import/smrtk2ssrfc_window.cpp | 2 +- smtk-import/smtk_standalone.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'smtk-import') diff --git a/smtk-import/smrtk2ssrfc_window.cpp b/smtk-import/smrtk2ssrfc_window.cpp index 16f2fbf6a..432ec859e 100644 --- a/smtk-import/smrtk2ssrfc_window.cpp +++ b/smtk-import/smrtk2ssrfc_window.cpp @@ -87,7 +87,7 @@ void Smrtk2ssrfcWindow::on_importButton_clicked() ui->plainTextEdit->appendPlainText(error_buf); } ui->progressBar->setValue(inputFiles.size()); - save_dives_logic(qPrintable(outputFile), false); + save_dives_logic(qPrintable(outputFile), false, false); ui->progressBar->setDisabled(true); } diff --git a/smtk-import/smtk_standalone.cpp b/smtk-import/smtk_standalone.cpp index dc152f42f..7092e26d1 100644 --- a/smtk-import/smtk_standalone.cpp +++ b/smtk-import/smtk_standalone.cpp @@ -50,7 +50,7 @@ int main(int argc, char *argv[]) smartrak_import(infile, &dive_table); } qDebug() << "\n[Writing]\n\t" << outfile << "\n"; - save_dives_logic(outfile, false); + save_dives_logic(outfile, false, false); break; } } -- cgit v1.2.3-70-g09d2