From 7efcb6989d46ffe84fb2e271c5196a32fdebba08 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 1 May 2019 12:12:03 -0700 Subject: [PATCH] UI: Only execute "What's New" code on win32 The "What's New" dialog currently is only functional on windows. --- UI/window-basic-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 9e29bb0c4..a53ff328c 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -1839,7 +1839,7 @@ void OBSBasic::OnFirstLoad() if (api) api->on_event(OBS_FRONTEND_EVENT_FINISHED_LOADING); -#ifdef BROWSER_AVAILABLE +#if defined(BROWSER_AVAILABLE) && defined(_WIN32) /* Attempt to load init screen if available */ if (cef) { WhatsNewInfoThread *wnit = new WhatsNewInfoThread(); -- GitLab