| 475 | } |
| 476 | |
| 477 | void RebindWidget::on_dpiBox_currentIndexChanged(int index){ |
| 478 | if(index != DPI_CUST_IDX){ |
| 479 | // Clear custom DPI |
| 480 | ui->dpiCustXBox->setEnabled(false); |
| 481 | ui->dpiCustYBox->setEnabled(false); |
| 482 | ui->dpiCustLabel->setEnabled(false); |
| 483 | } else { |
| 484 | ui->dpiCustXBox->setEnabled(true); |
| 485 | ui->dpiCustYBox->setEnabled(true); |
| 486 | ui->dpiCustLabel->setEnabled(true); |
| 487 | } |
| 488 | if(index == 0) |
| 489 | ui->dpiButton->setChecked(false); |
| 490 | else { |
| 491 | ui->dpiButton->setChecked(true); |
| 492 | setBox(ui->dpiBox); |
| 493 | } |
| 494 | } |
| 495 | |
| 496 | void RebindWidget::on_modeBox_currentIndexChanged(int index){ |
| 497 | if(index == 1 || index == 2) |
nothing calls this directly
no outgoing calls
no test coverage detected