| 76 | } |
| 77 | |
| 78 | void frmConvert::srcSubSelectClicked() { |
| 79 | QNapiOpenDialog openSubtitle(this, tr("Choose a subtitles file"), |
| 80 | QFileInfo(ui.leSrcSubFile->text()).path(), |
| 81 | QNapiOpenDialog::Subtitles); |
| 82 | if (openSubtitle.selectFile()) { |
| 83 | ui.leSrcSubFile->setText(openSubtitle.selectedFiles().first()); |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | void frmConvert::srcSubFileLoaded(const QString &srcSubFileName) { |
| 88 | bool fileExists = QFileInfo(srcSubFileName).exists(); |
nothing calls this directly
no test coverage detected