Fix app launch on Android, uncomment statistics processing

This commit is contained in:
albexk
2024-03-04 15:17:28 +03:00
parent faaf5973b4
commit b162147a89
4 changed files with 7 additions and 13 deletions
+2 -8
View File
@@ -5,11 +5,7 @@
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QThread>
#if defined(Q_OS_ANDROID)
#include <QGuiApplication>
#else
#include <QApplication>
#endif
#include <QApplication>
#include "settings.h"
#include "vpnconnection.h"
@@ -44,9 +40,7 @@
#define amnApp (static_cast<AmneziaApplication *>(QCoreApplication::instance()))
#if defined(Q_OS_ANDROID)
#define AMNEZIA_BASE_CLASS QGuiApplication
#elif defined(Q_OS_IOS)
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
#define AMNEZIA_BASE_CLASS QApplication
#else
#define AMNEZIA_BASE_CLASS SingleApplication