| 267 | } |
| 268 | |
| 269 | void SettingsDialog::on_pushButtonLibde265SelectFile_clicked() |
| 270 | { |
| 271 | QStringList newFiles = this->getLibraryPath(ui.lineEditLibde265File->text(), |
| 272 | "Please select the libde265 library file to use."); |
| 273 | if (newFiles.count() != 1) |
| 274 | return; |
| 275 | QString error; |
| 276 | if (!decoder::decoderLibde265::checkLibraryFile(newFiles[0], error)) |
| 277 | QMessageBox::critical( |
| 278 | this, |
| 279 | "Error testing the library", |
| 280 | "The selected file does not appear to be a usable libde265 library. Error: " + error); |
| 281 | else |
| 282 | ui.lineEditLibde265File->setText(newFiles[0]); |
| 283 | } |
| 284 | |
| 285 | void SettingsDialog::on_pushButtonlibHMSelectFile_clicked() |
| 286 | { |
nothing calls this directly
no test coverage detected