main: Globally disable the "?" button on dialogs

Sets the AA_DisableWindowContextHelpButton attribute to disable this useless button globally.
This commit is contained in:
Morph
2023-01-25 01:11:20 -05:00
parent 44b981fd3e
commit cdfb3795af
10 changed files with 8 additions and 17 deletions

View File

@ -66,8 +66,6 @@ ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::st
setFocusPolicy(Qt::ClickFocus);
setWindowTitle(tr("Properties"));
// remove Help question mark button from the title bar
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
addons_tab->SetTitleId(title_id);