Merge pull request #2459 from lioncash/what

configure_dialog: Remove the Whats This? button from the dialog
This commit is contained in:
bunnei 2019-05-09 13:20:12 -04:00 committed by GitHub
commit 8abf0add04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,12 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry)
ui->hotkeysTab->Populate(registry); ui->hotkeysTab->Populate(registry);
this->setConfiguration(); this->setConfiguration();
this->PopulateSelectionList(); this->PopulateSelectionList();
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
connect(ui->selectorList, &QListWidget::itemSelectionChanged, this, connect(ui->selectorList, &QListWidget::itemSelectionChanged, this,
&ConfigureDialog::UpdateVisibleTabs); &ConfigureDialog::UpdateVisibleTabs);
adjustSize(); adjustSize();
ui->selectorList->setCurrentRow(0); ui->selectorList->setCurrentRow(0);