ATLauncher: Replace usage of QPushButton::pressed with ::clicked

This commit is contained in:
Jamie Mansfield 2022-04-22 20:33:42 +01:00
parent 45783c1661
commit ba9059c7c8
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -301,13 +301,13 @@ AtlOptionalModDialog::AtlOptionalModDialog(QWidget *parent, QVector<ATLauncher::
ui->treeView->header()->setSectionResizeMode(
AtlOptionalModListModel::DescriptionColumn, QHeaderView::Stretch);
connect(ui->shareCodeButton, &QPushButton::pressed,
connect(ui->shareCodeButton, &QPushButton::clicked,
this, &AtlOptionalModDialog::useShareCode);
connect(ui->selectRecommendedButton, &QPushButton::pressed,
connect(ui->selectRecommendedButton, &QPushButton::clicked,
listModel, &AtlOptionalModListModel::selectRecommended);
connect(ui->clearAllButton, &QPushButton::pressed,
connect(ui->clearAllButton, &QPushButton::clicked,
listModel, &AtlOptionalModListModel::clearAll);
connect(ui->installButton, &QPushButton::pressed,
connect(ui->installButton, &QPushButton::clicked,
this, &QDialog::close);
}