| 283 | } |
| 284 | |
| 285 | void SettingsDialog::on_pushButtonlibHMSelectFile_clicked() |
| 286 | { |
| 287 | QStringList newFiles = this->getLibraryPath( |
| 288 | ui.lineEditLibHMFile->text(), "Please select the libHMDecoder library file to use."); |
| 289 | if (newFiles.count() != 1) |
| 290 | return; |
| 291 | QString error; |
| 292 | if (!decoder::decoderHM::checkLibraryFile(newFiles[0], error)) |
| 293 | QMessageBox::critical( |
| 294 | this, |
| 295 | "Error testing the library", |
| 296 | "The selected file does not appear to be a usable libHMDecoder library. Error: " + error); |
| 297 | else |
| 298 | ui.lineEditLibHMFile->setText(newFiles[0]); |
| 299 | } |
| 300 | |
| 301 | void SettingsDialog::on_pushButtonLibDav1dSelectFile_clicked() |
| 302 | { |
nothing calls this directly
no test coverage detected