1
0
Fork 0
forked from suyu/suyu

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);