Support of multiple-code config
This commit is contained in:
parent
a86e8659f7
commit
b870306c5d
11 changed files with 126 additions and 204 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef Q_OS_ANDROID
|
||||
#include <QJniObject>
|
||||
#include "../../platforms/android/androidutils.h"
|
||||
#include "../../platforms/android/android_controller.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
|
@ -184,6 +185,13 @@ void StartPageLogic::onPushButtonImportOpenFile()
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
void StartPageLogic::startQrDecoder()
|
||||
{
|
||||
AndroidController::instance()->startQrReaderActivity();
|
||||
}
|
||||
#endif
|
||||
|
||||
bool StartPageLogic::importConnection(const QJsonObject &profile)
|
||||
{
|
||||
ServerCredentials credentials;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue