Remove unnecessary QObject inheritance

This commit is contained in:
BigBahss
2021-02-18 08:43:52 -05:00
committed by huderlem
parent 6ebf1b54a8
commit d5270df3b6
4 changed files with 4 additions and 9 deletions

View File

@@ -575,7 +575,7 @@ void ProjectConfig::onNewConfigFileCreated() {
form.addRow(new QLabel("Game Version"), baseGameVersionComboBox);
QDialogButtonBox buttonBox(QDialogButtonBox::Ok, Qt::Horizontal, &dialog);
connect(&buttonBox, &QDialogButtonBox::accepted, &dialog, &QDialog::accept);
QObject::connect(&buttonBox, &QDialogButtonBox::accepted, &dialog, &QDialog::accept);
form.addRow(&buttonBox);
if (dialog.exec() == QDialog::Accepted) {