UI: Remove help icon from auth/what's new titlebars
This commit is contained in:
parent
d416f781fd
commit
3f59e2fb13
2 changed files with 8 additions and 0 deletions
|
|
@ -1923,6 +1923,10 @@ void OBSBasic::ReceivedIntroJson(const QString &text)
|
|||
dlg->setWindowTitle("What's New");
|
||||
dlg->resize(700, 600);
|
||||
|
||||
Qt::WindowFlags flags = dlg->windowFlags();
|
||||
Qt::WindowFlags helpFlag = Qt::WindowContextHelpButtonHint;
|
||||
dlg->setWindowFlags(flags & (~helpFlag));
|
||||
|
||||
QCefWidget *cefWidget = cef->create_widget(nullptr, info_url);
|
||||
if (!cefWidget) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue