Little cleanup
This commit is contained in:
parent
30ae13b245
commit
6bebfb861c
3 changed files with 2 additions and 7 deletions
|
@ -268,7 +268,6 @@ if(ANDROID)
|
|||
# We need to include qtprivate api's
|
||||
# As QAndroidBinder is not yet implemented with a public api
|
||||
set(LIBS ${LIBS} Qt6::CorePrivate)
|
||||
# set(ANDROID_ABIS ANDROID_TARGET_ARCH)
|
||||
|
||||
add_compile_definitions(MVPN_ANDROID)
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "ui/pages_logic/StartPageLogic.h"
|
||||
|
||||
#include "protocols/vpnprotocol.h"
|
||||
|
||||
using namespace amnezia;
|
||||
|
||||
|
||||
|
@ -38,10 +39,6 @@ public:
|
|||
void cleanupBackendLogs();
|
||||
void importConfig(const QString& data);
|
||||
|
||||
// from QAndroidServiceConnection
|
||||
// void onServiceConnected(const QString& name, const QAndroidBinder& serviceBinder) override;
|
||||
// void onServiceDisconnected(const QString& name) override;
|
||||
|
||||
const QJsonObject &vpnConfig() const;
|
||||
void setVpnConfig(const QJsonObject &newVpnConfig);
|
||||
|
||||
|
@ -63,7 +60,7 @@ protected:
|
|||
|
||||
private:
|
||||
bool m_init = false;
|
||||
//Protocol m_protocol;
|
||||
|
||||
QJsonObject m_vpnConfig;
|
||||
|
||||
StartPageLogic *m_startPageLogic;
|
||||
|
|
|
@ -48,7 +48,6 @@ void AndroidVPNActivity::maybeInit() {
|
|||
bool AndroidVPNActivity::handleBackButton(JNIEnv* env, jobject thiz) {
|
||||
Q_UNUSED(env);
|
||||
Q_UNUSED(thiz);
|
||||
// return Navigator::instance()->eventHandled();
|
||||
}
|
||||
|
||||
void AndroidVPNActivity::connectService() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue