Qt: Fix 6.7 deprecation warnings

This commit is contained in:
Stenzek
2024-04-11 21:48:59 +10:00
parent efcfcd8e11
commit 3e9ac99d54
12 changed files with 24 additions and 27 deletions

View File

@@ -265,7 +265,7 @@ struct SettingAccessor<QCheckBox>
template<typename F>
static void connectValueChanged(QCheckBox* widget, F func)
{
widget->connect(widget, &QCheckBox::stateChanged, func);
widget->connect(widget, &QCheckBox::checkStateChanged, func);
}
};