From f3772fe5138e96856342c9f44825320a501e55e4 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Fri, 30 Sep 2022 00:46:08 -0700 Subject: [PATCH] fmk - adding app data to google analytics --- LossModel/LossModelSelection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LossModel/LossModelSelection.cpp b/LossModel/LossModelSelection.cpp index 71896a6..5a8dccf 100644 --- a/LossModel/LossModelSelection.cpp +++ b/LossModel/LossModelSelection.cpp @@ -47,6 +47,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include "LossModelSelection.h" +#include LossModelSelection::LossModelSelection( @@ -205,7 +206,7 @@ void LossModelSelection::dlSelectionChanged(const QString &arg1) theStackedWidget->setCurrentIndex(0); theCurrentMethod = thePelicunWidget; - }else { + } else { errorMessage("ERROR: Loss Input - no valid Method provided .. keeping old"); qDebug() << "ERROR: Loss Input - no valid Method provided .. keeping old" << arg1; } @@ -219,7 +220,8 @@ LossModelSelection::copyFiles(QString &destDir) { bool result = true; if (theCurrentMethod != 0) { - return theCurrentMethod->copyFiles(destDir); + GoogleAnalytics::ReportAppUsage("DL-Pelicun"); + return theCurrentMethod->copyFiles(destDir); } return result;