UI: Don't show "What's New" for new users
This commit is contained in:
parent
587de2139d
commit
340b8ec38e
@ -1919,12 +1919,18 @@ void OBSBasic::ReceivedIntroJson(const QString &text)
|
||||
return;
|
||||
}
|
||||
|
||||
cef->init_browser();
|
||||
ExecuteFuncSafeBlock([] {cef->wait_for_browser_init();});
|
||||
|
||||
config_set_int(App()->GlobalConfig(), "General",
|
||||
"InfoIncrement", info_increment);
|
||||
|
||||
/* Don't show What's New dialog for new users */
|
||||
#if !defined(OBS_RELEASE_CANDIDATE) || OBS_RELEASE_CANDIDATE == 0
|
||||
if (!lastVersion) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
cef->init_browser();
|
||||
ExecuteFuncSafeBlock([] {cef->wait_for_browser_init();});
|
||||
|
||||
QDialog *dlg = new QDialog(this);
|
||||
dlg->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
dlg->setWindowTitle("What's New");
|
||||
|
Loading…
x
Reference in New Issue
Block a user