From 72eeeac2ba54006cf5f27e3faaeac15f1d5376b8 Mon Sep 17 00:00:00 2001 From: Gabriel Calero Date: Fri, 14 Sep 2018 14:40:30 -0300 Subject: [PATCH] Don't popup login dialog in android --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 826f6a87a9..46cebc1661 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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::enterForeground, this, &Application::enterForeground); AndroidHelper::instance().notifyLoadComplete(); -#endif - +#else static int CHECK_LOGIN_TIMER = 3000; QTimer* checkLoginTimer = new QTimer(this); checkLoginTimer->setInterval(CHECK_LOGIN_TIMER); @@ -2321,6 +2320,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo }); Setting::Handle{"loginDialogPoppedUp", false}.set(false); checkLoginTimer->start(); +#endif } void Application::updateVerboseLogging() {