mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-04 11:30:59 +02:00
Merge pull request #13999 from gcalero/dont_popup_login_android
Don't popup login dialog in android
This commit is contained in:
commit
be76c43aec
1 changed files with 2 additions and 2 deletions
|
@ -2302,8 +2302,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
||||||
connect(&AndroidHelper::instance(), &AndroidHelper::enterBackground, this, &Application::enterBackground);
|
connect(&AndroidHelper::instance(), &AndroidHelper::enterBackground, this, &Application::enterBackground);
|
||||||
connect(&AndroidHelper::instance(), &AndroidHelper::enterForeground, this, &Application::enterForeground);
|
connect(&AndroidHelper::instance(), &AndroidHelper::enterForeground, this, &Application::enterForeground);
|
||||||
AndroidHelper::instance().notifyLoadComplete();
|
AndroidHelper::instance().notifyLoadComplete();
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
static int CHECK_LOGIN_TIMER = 3000;
|
static int CHECK_LOGIN_TIMER = 3000;
|
||||||
QTimer* checkLoginTimer = new QTimer(this);
|
QTimer* checkLoginTimer = new QTimer(this);
|
||||||
checkLoginTimer->setInterval(CHECK_LOGIN_TIMER);
|
checkLoginTimer->setInterval(CHECK_LOGIN_TIMER);
|
||||||
|
@ -2321,6 +2320,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
||||||
});
|
});
|
||||||
Setting::Handle<bool>{"loginDialogPoppedUp", false}.set(false);
|
Setting::Handle<bool>{"loginDialogPoppedUp", false}.set(false);
|
||||||
checkLoginTimer->start();
|
checkLoginTimer->start();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::updateVerboseLogging() {
|
void Application::updateVerboseLogging() {
|
||||||
|
|
Loading…
Reference in a new issue