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

@ -8,7 +8,6 @@
SequenceDialog::SequenceDialog(QWidget* parent) : QDialog(parent) {
setWindowTitle(tr("Enter a hotkey"));
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
key_sequence = new QKeySequenceEdit;