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

@ -108,7 +108,7 @@ ConsoleSettingsWidget::ConsoleSettingsWidget(SettingsWindow* dialog, QWidget* pa
m_ui.cpuClockSpeed->setEnabled(m_dialog->getEffectiveBoolValue("CPU", "OverclockEnable", false));
connect(m_ui.enableCPUClockSpeedControl, &QCheckBox::stateChanged, this,
connect(m_ui.enableCPUClockSpeedControl, &QCheckBox::checkStateChanged, this,
&ConsoleSettingsWidget::onEnableCPUClockSpeedControlChecked);
connect(m_ui.cpuClockSpeed, &QSlider::valueChanged, this, &ConsoleSettingsWidget::onCPUClockSpeedValueChanged);