From 38c7694ce944326d3cb6cd7136057dda0e9459d7 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Sun, 31 Dec 2023 18:16:20 -0800 Subject: [PATCH] fmk - updating version number to 3.3.0 --- main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index 1c21d34..f802b5d 100644 --- a/main.cpp +++ b/main.cpp @@ -27,6 +27,7 @@ static bool logToFile = false; void customMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) { + QHash msgLevelHash({{QtDebugMsg, "Debug"}, {QtInfoMsg, "Info"}, {QtWarningMsg, "Warning"}, {QtCriticalMsg, "Critical"}, {QtFatalMsg, "Fatal"}}); QByteArray localMsg = msg.toLocal8Bit(); QTime time = QTime::currentTime(); @@ -57,7 +58,7 @@ int main(int argc, char *argv[]) //Setting Core Application Name, Organization and Version QCoreApplication::setApplicationName("PBE"); QCoreApplication::setOrganizationName("SimCenter"); - QCoreApplication::setApplicationVersion("3.2.0"); + QCoreApplication::setApplicationVersion("3.3.0"); #ifdef Q_OS_WIN QApplication::setAttribute(Qt::AA_UseOpenGLES); @@ -193,19 +194,20 @@ int main(int argc, char *argv[]) } //Setting Google Analytics Tracking Information + /* ************************************************************** GoogleAnalytics::SetMeasurementId("G-JWNPJMZVTK"); GoogleAnalytics::SetAPISecret("CL5znZLfQv6N2Tk1RJVMWg"); GoogleAnalytics::CreateSessionId(); GoogleAnalytics::StartSession(); - /******************** NOT Working!!!! + // Opening a QWebEngineView and using github to get app geographic usage QWebEngineView view; view.setUrl(QUrl("https://nheri-simcenter.github.io/PBE/GA4.html")); view.resize(1024, 750); view.show(); view.hide(); - ******************************* */ + ******************************************************************* */ //