Merge pull request #16566 from sethalves/fix-disable-qml-on-linux

allow Linux interface to connect to domain when DISABLE_QML is true
This commit is contained in:
Bradley Austin Davis 2019-12-10 12:35:18 -08:00 committed by GitHub
commit d5540fbcf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3395,6 +3395,10 @@ void Application::initializeUi() {
setIsInterstitialMode(true);
#if defined(DISABLE_QML) && defined(Q_OS_LINUX)
resumeAfterLoginDialogActionTaken();
#endif
}
@ -5662,6 +5666,7 @@ void Application::resumeAfterLoginDialogActionTaken() {
return;
}
#if !defined(DISABLE_QML)
if (!isHMDMode() && getDesktopTabletBecomesToolbarSetting()) {
auto toolbar = DependencyManager::get<ToolbarScriptingInterface>()->getToolbar("com.highfidelity.interface.toolbar.system");
toolbar->writeProperty("visible", true);
@ -5671,6 +5676,7 @@ void Application::resumeAfterLoginDialogActionTaken() {
}
updateSystemTabletMode();
#endif
{
auto userInputMapper = DependencyManager::get<UserInputMapper>();