qt: Disable bus channels that are currently in use
This commit is contained in:
@@ -153,6 +153,10 @@ Settings::Settings(QWidget *parent)
|
||||
&SettingsStorageControllers::onCurrentMachineChanged);
|
||||
connect(machine, &SettingsMachine::currentMachineChanged, otherPeripherals,
|
||||
&SettingsOtherPeripherals::onCurrentMachineChanged);
|
||||
connect(floppyCdrom, &SettingsFloppyCDROM::cdromChannelChanged, harddisks,
|
||||
&SettingsHarddisks::reloadBusChannels);
|
||||
connect(harddisks, &SettingsHarddisks::driveChannelChanged, floppyCdrom,
|
||||
&SettingsFloppyCDROM::reloadBusChannels);
|
||||
|
||||
connect(ui->listView->selectionModel(), &QItemSelectionModel::currentChanged, this,
|
||||
[this](const QModelIndex ¤t, const QModelIndex &previous) {
|
||||
|
||||
Reference in New Issue
Block a user