| 36 | } |
| 37 | |
| 38 | void OptionsDialog::okayButtonClicked() { |
| 39 | ui->tabWidget->setCurrentIndex(0); |
| 40 | |
| 41 | if (! ui->generalSettings->checkValid()) |
| 42 | return; |
| 43 | |
| 44 | ui->tabWidget->setCurrentIndex(1); |
| 45 | |
| 46 | if (! ui->compilerSettings->checkValid()) |
| 47 | return; |
| 48 | |
| 49 | accept(); |
| 50 | } |
nothing calls this directly
no test coverage detected