mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-11 11:49:49 -05:00
fix Qt6 deprecation warnings
This commit is contained in:
@@ -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