From 34246cf4eba29e6e52dcab094868f3700d109470 Mon Sep 17 00:00:00 2001 From: wcjohns Date: Sat, 12 Aug 2023 07:53:49 -0700 Subject: [PATCH] Remove using test code from QR spectrum encoding. --- InterSpec/QRSpectrum.h | 2 +- src/ExportSpecFile.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/InterSpec/QRSpectrum.h b/InterSpec/QRSpectrum.h index 278ff66e..4280ea7b 100644 --- a/InterSpec/QRSpectrum.h +++ b/InterSpec/QRSpectrum.h @@ -73,7 +73,7 @@ namespace SpecUtils namespace QRSpectrum { -#define EMAIL_QR_OPTION 1 +#define EMAIL_QR_OPTION 0 //Experimentation for having the QR code create an email, that will then put the URL info into the // message body. E.g., something like: // "mailto:user@example.com?subject=spectrum&body=..." diff --git a/src/ExportSpecFile.cpp b/src/ExportSpecFile.cpp index b2d9befc..adfd5e30 100644 --- a/src/ExportSpecFile.cpp +++ b/src/ExportSpecFile.cpp @@ -820,6 +820,7 @@ void ExportSpecFileTool::init() #if( ANDROID ) // Using hacked saving to temporary file in Android, instead of via network download of file. + TODO: have the click call a member function that calls the ansdroid download workaraound with the proper filename. m_export_btn->clicked().connect( std::bind( [this](){ android_download_workaround( m_resource, "spectrum_file" ); } ) ); #endif //ANDROID