| 84 | } |
| 85 | |
| 86 | void frmListSubtitles::accept() { |
| 87 | if (ui.twSubtitles->selectedItems().size() == 0) { |
| 88 | QMessageBox::warning(this, tr("No subtitle selected"), |
| 89 | tr("You need to select a subtitle from the list!")); |
| 90 | } else { |
| 91 | QDialog::accept(); |
| 92 | } |
| 93 | } |
nothing calls this directly
no outgoing calls
no test coverage detected