提交 340b8ec3 编写于 作者: J jp9000

UI: Don't show "What's New" for new users

上级 587de213
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册