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 b292986fc5
commit aeada1616a
10 changed files with 8 additions and 17 deletions

View file

@ -46,7 +46,6 @@ InstallDialog::InstallDialog(QWidget* parent, const QStringList& files) : QDialo
vbox_layout->addLayout(hbox_layout);
setLayout(vbox_layout);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowTitle(tr("Install Files to NAND"));
}