mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
fix some Qt6 bugs (buttonClicked -> idClicked)
This commit is contained in:
@ -397,7 +397,11 @@ TitleImportDialog::TitleImportDialog(QWidget* parent, QString& apppath, const DS
|
||||
grpTmdSource = new QButtonGroup(this);
|
||||
grpTmdSource->addButton(ui->rbTmdFromFile, 0);
|
||||
grpTmdSource->addButton(ui->rbTmdFromNUS, 1);
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||
connect(grpTmdSource, SIGNAL(buttonClicked(int)), this, SLOT(onChangeTmdSource(int)));
|
||||
#else
|
||||
connect(grpTmdSource, SIGNAL(idClicked(int)), this, SLOT(onChangeTmdSource(int)));
|
||||
#endif
|
||||
grpTmdSource->button(0)->setChecked(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user