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() {