fix Qt6 deprecation warnings
This commit is contained in:
1 parent
b25e293cc8
commit
49c72efcd3
12 files changed
+94
No files matched your search
@@ -60,7 +60,11 @@ void PadMappingDialog::ConnectWidgets()
|
||||
}
|
||||
for (const auto& checkbox : m_gba_boxes)
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
connect(checkbox, &QCheckBox::checkStateChanged, this, &PadMappingDialog::OnMappingChanged);
|
||||
#else
|
||||
connect(checkbox, &QCheckBox::stateChanged, this, &PadMappingDialog::OnMappingChanged);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user