mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
removed unused code
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
//#include <QAndroidBinder>
|
||||
//#include <QAndroidIntent>
|
||||
//#include <QAndroidJniEnvironment>
|
||||
//#include <QAndroidJniObject>
|
||||
//#include <QAndroidParcel>
|
||||
//#include <QAndroidServiceConnection>
|
||||
#include <QDebug>
|
||||
#include <QHostAddress>
|
||||
#include <QJsonArray>
|
||||
@@ -12,11 +6,9 @@
|
||||
#include <QRandomGenerator>
|
||||
#include <QTextCodec>
|
||||
#include <QTimer>
|
||||
//#include <QtAndroid>
|
||||
|
||||
#include <QtCore/private/qandroidextras_p.h>
|
||||
|
||||
|
||||
#include "android_controller.h"
|
||||
#include "core/errorstrings.h"
|
||||
#include "ui/pages_logic/StartPageLogic.h"
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef ANDROID_CONTROLLER_H
|
||||
#define ANDROID_CONTROLLER_H
|
||||
|
||||
//#include <QAndroidBinder>
|
||||
//#include <QAndroidServiceConnection>
|
||||
#include <QtCore/private/qandroidextras_p.h>
|
||||
|
||||
#include "ui/uilogic.h"
|
||||
|
||||
@@ -184,10 +184,6 @@ bool StartPageLogic::importConnectionFromCode(QString code)
|
||||
return importConnection(o);
|
||||
}
|
||||
|
||||
o = QJsonDocument::fromJson(ba).object();
|
||||
if (!o.isEmpty()) {
|
||||
return importConnection(o);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user