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.
master
Jim 2022-08-14 00:48:25 -07:00
parent 9140c260ee
commit c63d2f9852
1 changed files with 0 additions and 8 deletions

View File

@ -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 =