Skip to content

Commit

Permalink
fmk - adding app data to google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Sep 30, 2022
1 parent 2ff2495 commit f3772fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions LossModel/LossModelSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <QScrollArea>

#include "LossModelSelection.h"
#include <GoogleAnalytics.h>

LossModelSelection::LossModelSelection(

Expand Down Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit f3772fe

Please sign in to comment.