History

Fixes according to review

Gabriel Calero committed 8 years ago

Commit b7c421b1 parent c0c95a13 files · +18 −4Browse files

Showing the changes to interface/src/AndroidHelper.cpp (1 of 3 files). Show all

Unified · Split

interface/src/AndroidHelper.cpp+2−2
@@ -12,7 +12,9 @@ · 11 unmodified lines
12#include <QDebug>12#include <QDebug>
13#include <AccountManager.h>13#include <AccountManager.h>
14#include <AudioClient.h>14#include <AudioClient.h>
15#include <src/ui/LoginDialog.h>
15#include "Application.h"16#include "Application.h"
17#include "Constants.h"
16 18
17#if defined(qApp)19#if defined(qApp)
18#undef qApp20#undef qApp
@@ -84,8 +86,6 @@ void AndroidHelper::signup(QString email, QString username, QString password) { · 65 unmodified lines
84 86
85 payload.insert("user", userObject);87 payload.insert("user", userObject);
86 88
87 static const QString API_SIGNUP_PATH = "api/v1/users";
88
89 auto accountManager = DependencyManager::get<AccountManager>();89 auto accountManager = DependencyManager::get<AccountManager>();
90 90
91 accountManager->sendRequest(API_SIGNUP_PATH, AccountManagerAuth::None,91 accountManager->sendRequest(API_SIGNUP_PATH, AccountManagerAuth::None,