From 11da527490bca2a44804b0cd50b986ce5f23e5e5 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 24 Oct 2019 14:59:22 -0300 Subject: [PATCH] Don't show the app on the dock bar when we run tests from the terminal --- laf | 2 +- src/app/app.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/laf b/laf index 45f67be6e..0f3e19d6c 160000 --- a/laf +++ b/laf @@ -1 +1 @@ -Subproject commit 45f67be6ef35cf94d427b00a59f8a099b4308700 +Subproject commit 0f3e19d6c5908bc771415dc54489ad8852fbac4b diff --git a/src/app/app.cpp b/src/app/app.cpp index 1aafee2ee..c7d85fc9a 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -232,6 +232,9 @@ void App::initialize(const AppOptions& options) } #endif + os::instance()->setAppMode(m_isGui ? os::AppMode::GUI: + os::AppMode::CLI); + if (m_isGui) m_uiSystem.reset(new ui::UISystem);