mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 22:09:06 +02:00
Merge pull request #14588 from wayne-chen/loginInitiative2
MS20328: New login breaks nitpick
This commit is contained in:
commit
a5ae4081a5
1 changed files with 8 additions and 2 deletions
|
@ -5261,7 +5261,12 @@ void Application::resumeAfterLoginDialogActionTaken() {
|
|||
nodeList->getDomainHandler().resetting();
|
||||
|
||||
if (!accountManager->isLoggedIn()) {
|
||||
addressManager->goToEntry();
|
||||
if (arguments().contains("--url")) {
|
||||
auto reply = SandboxUtils::getStatus();
|
||||
connect(reply, &QNetworkReply::finished, this, [this, reply] { handleSandboxStatus(reply); });
|
||||
} else {
|
||||
addressManager->goToEntry();
|
||||
}
|
||||
} else {
|
||||
QVariant testProperty = property(hifi::properties::TEST);
|
||||
if (testProperty.isValid()) {
|
||||
|
@ -5274,7 +5279,8 @@ void Application::resumeAfterLoginDialogActionTaken() {
|
|||
connect(reply, &QNetworkReply::finished, this, [this, reply] { handleSandboxStatus(reply); });
|
||||
}
|
||||
} else {
|
||||
addressManager->loadSettings();
|
||||
auto reply = SandboxUtils::getStatus();
|
||||
connect(reply, &QNetworkReply::finished, this, [this, reply] { handleSandboxStatus(reply); });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue