From c63d2f985264716b6a8a582d1c861352729b7023 Mon Sep 17 00:00:00 2001 From: Jim Date: Sun, 14 Aug 2022 00:48:25 -0700 Subject: [PATCH] UI: Remove #if expression for what's new message This #if test was intended to not show messages for new users, but instead just made it so messages wouldn't show at all if the entry wasn't previously set. Plus the expression was bad anyway. This was causing betas and release candidates to not show what's new messages when they should have been. Just remove this code as it's silly to have at this point anyway. All users should see what's new messages if they open the program, even if for the first time. --- UI/window-basic-main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 8adf7b19f..382e27435 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -2213,14 +2213,6 @@ void OBSBasic::ReceivedIntroJson(const QString &text) info_increment); config_save_safe(App()->GlobalConfig(), "tmp", nullptr); - /* Don't show What's New dialog for new users */ -#if !defined(OBS_RELEASE_CANDIDATE) || OBS_RELEASE_CANDIDATE == 0 || \ - !defined(OBS_BETA) || OBS_BETA == 0 - - if (!lastVersion) { - return; - } -#endif cef->init_browser(); WhatsNewBrowserInitThread *wnbit =