qt: fix multiple compiler warnings

This commit is contained in:
ts-korhonen
2022-03-07 21:47:48 +02:00
parent fbd29271bc
commit 87546d2ce6
6 changed files with 12 additions and 8 deletions

View File

@@ -80,7 +80,6 @@ void SettingsNetwork::save() {
void SettingsNetwork::onCurrentMachineChanged(int machineId) {
this->machineId = machineId;
auto* machine = &machines[machineId];
auto* model = ui->comboBoxAdapter->model();
auto removeRows = model->rowCount();