Showing the changes to interface/src/AndroidHelper.cpp (1 of 3 files). Show all
Unified · Split
| @@ -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 qApp | 20 | #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, |