Qt: Populate controller tabs based on multitap mode

This commit is contained in:
Connor McLaughlin
2021-03-03 21:33:24 +10:00
parent a8a1a9efd5
commit 1d00f96f89
5 changed files with 96 additions and 4 deletions

View File

@ -79,6 +79,8 @@ ConsoleSettingsWidget::ConsoleSettingsWidget(QtHostInterface* host_interface, QW
connect(m_ui.cpuClockSpeed, &QSlider::valueChanged, this, &ConsoleSettingsWidget::onCPUClockSpeedValueChanged);
connect(m_ui.cdromReadSpeedup, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
&ConsoleSettingsWidget::onCDROMReadSpeedupValueChanged);
connect(m_ui.multitapMode, QOverload<int>::of(&QComboBox::currentIndexChanged),
[this](int index) { emit multitapModeChanged(); });
calculateCPUClockValue();
}