mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-25 01:05:38 -05:00
Remove unnecessary QObject inheritance
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user