mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 10:46:45 +02:00
on first run, send user to serverless tutorial rather than checking for a local sandbox
This commit is contained in:
parent
c3cad62bff
commit
4b0d338e57
1 changed files with 2 additions and 10 deletions
|
@ -3042,7 +3042,6 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
|
|||
|
||||
static const QString SENT_TO_PREVIOUS_LOCATION = "previous_location";
|
||||
static const QString SENT_TO_ENTRY = "entry";
|
||||
static const QString SENT_TO_SANDBOX = "sandbox";
|
||||
|
||||
QString sentTo;
|
||||
|
||||
|
@ -3051,15 +3050,8 @@ void Application::handleSandboxStatus(QNetworkReply* reply) {
|
|||
#if !defined(Q_OS_ANDROID)
|
||||
showHelp();
|
||||
#endif
|
||||
if (sandboxIsRunning) {
|
||||
qCDebug(interfaceapp) << "Home sandbox appears to be running, going to Home.";
|
||||
DependencyManager::get<AddressManager>()->goToLocalSandbox();
|
||||
sentTo = SENT_TO_SANDBOX;
|
||||
} else {
|
||||
qCDebug(interfaceapp) << "Home sandbox does not appear to be running, going to Entry.";
|
||||
DependencyManager::get<AddressManager>()->goToEntry();
|
||||
sentTo = SENT_TO_ENTRY;
|
||||
}
|
||||
DependencyManager::get<AddressManager>()->goToEntry();
|
||||
sentTo = SENT_TO_ENTRY;
|
||||
firstRun.set(false);
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue